{"id":"CVE-2025-12848","state":"PUBLISHED","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 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.","publishedAt":"2025-11-26T01:28:33.628Z","updatedAt":"2026-03-26T20:52:30.614Z","severity":{"score":7,"label":"High","version":"4.0","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","source":"drupal"},"assigner":"drupal","products":["Drupal Drupal"],"affected":[{"vendor":"Drupal","product":"Drupal","packageName":"Webform Multifile Upload","defaultStatus":"unaffected","versions":[{"version":"7.x-1.0","status":"affected","lessThanOrEqual":"7.x-1.6","versionType":"custom"}],"collectionURL":"https://www.drupal.org/project/webform_multifile","repo":"https://git.drupalcode.org/project/webform_multifile"}],"references":["https://www.drupal.org/node/3105204","https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/","https://www.herodevs.com/vulnerability-directory/cve-2025-12848","https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:31.050Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/12xxx/CVE-2025-12848.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-12848","state":"PUBLISHED","datePublished":"2025-11-26T01:28:33.628Z","dateUpdated":"2026-03-26T20:52:30.614Z","assignerShortName":"drupal","assignerOrgId":"2c85b837-eb8b-40ed-9d74-228c62987387","dateReserved":"2025-11-06T21:09:12.402Z"},"containers":{"cna":{"title":"XSS vulnerability when rendering filename in Webform Multiform","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Drupal","product":"Drupal","packageName":"Webform Multifile Upload","defaultStatus":"unaffected","versions":[{"version":"7.x-1.0","status":"affected","lessThanOrEqual":"7.x-1.6","versionType":"custom"}],"collectionURL":"https://www.drupal.org/project/webform_multifile","repo":"https://git.drupalcode.org/project/webform_multifile"}],"references":[{"url":"https://www.drupal.org/node/3105204","tags":["issue-tracking"]},{"url":"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/","tags":["third-party-advisory"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-12848","tags":["third-party-advisory"]},{"url":"https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"LOW","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"LOW","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NEGLIGIBLE","Automatable":"NOT_DEFINED","Recovery":"USER","valueDensity":"DIFFUSE","vulnerabilityResponseEffort":"LOW","providerUrgency":"AMBER","version":"4.0","baseSeverity":"HIGH","baseScore":7,"vectorString":"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"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"drupal","orgId":"2c85b837-eb8b-40ed-9d74-228c62987387","dateUpdated":"2026-03-26T20:52:30.614Z"},"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-11-26T14:18:51.075955Z","id":"CVE-2025-12848","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-11-26T14:19:01.182Z"}}]}}}