{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-12848","id":"CVE-2025-12848","title":"XSS vulnerability when rendering filename in Webform Multiform","description":"Webform Multiple File Upload module for Drupal 7.x contains a cross-site scripting (XSS) vulnerability in the file name renderer. An unauthenticated attacker can exploit this vulnerability by uploading a file with a malicious\nfilename containing JavaScript code (e.g., \"<img src=1 onerror=alert(document.domain)>\") to a Webform node with a Multifile field where file type validation is disabled. This","descriptionLong":"Webform Multiple File Upload module for Drupal 7.x contains a cross-site scripting (XSS) vulnerability in the file name renderer. An unauthenticated attacker can exploit this vulnerability by uploading a file with a malicious\nfilename containing JavaScript code (e.g., \"<img src=1 onerror=alert(document.domain)>\") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts\nin the context of the victim's browser.\n \nThe issue is present in a third-party library and has been addressed in a patch available at  https://github.com/fyneworks/multifile/pull/44 . Users are advised to apply the provided patch or update to a fixed version of the module.","published":"2025-11-26T01:28:33.628Z","updated":"2026-11-13T02:30:41.602421040Z","reserved":"2025-11-06T21:09:12.402Z","status":"Modified","rejected":false,"assigner":"drupal","metric":{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/S:N/R:U/V:D/RE:L/U:Amber","rating":"high","source":"drupal"},"metrics":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/S:N/R:U/V:D/RE:L/U:Amber","rating":"high","source":"drupal"},{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:X/R:U/V:D/RE:L/U:Amber","rating":"high","source":"drupal.org"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/S:N/R:U/V:D/RE:L/U:Amber","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Drupal"],"affectedProducts":[{"vendor":"Drupal","product":"Drupal","defaultStatus":"unaffected","versions":[{"status":"affected","version":"7.x-1.0","lessThanOrEqual":"7.x-1.6","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://www.drupal.org/node/3105204","tags":["issue-tracking","Patch","Vendor Advisory","report"]},{"url":"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/","tags":["third-party-advisory","advisory"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-12848","tags":["third-party-advisory","advisory"]},{"url":"https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting","tags":["third-party-advisory","advisory"]},{"url":"https://git.drupalcode.org/project/webform_multifile","tags":["web"]},{"url":"https://www.drupal.org/project/webform_multifile","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12848.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12848","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00357,"epssPercentile":0.30049,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-12848","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12848","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-12848","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-12848","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}