XSS vulnerability when rendering filename in Webform Multiform
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 filename containing JavaScript code (e.g., "") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts in the context of the victim's browser. The 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-12848
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:37 UTC · Revision 1
Source evidence
XSS vulnerability when rendering filename in Webform Multiform
core-osv · Original sourcePublished 26 Nov 2025, 01:28 UTC
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 filename containing JavaScript code (e.g., "") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts in the context of the victim's browser. The 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.
osv:CVE-2025-12848
Complete source record
{
"id": "afaa07e2660df261e4df2a40fa4488520a2345928180aa3ed9cf8654fc417328",
"url": "https://osv.dev/vulnerability/CVE-2025-12848",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "XSS vulnerability when rendering filename in Webform Multiform",
"summary": "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 filename containing JavaScript code (e.g., \"\") to a Webform node with a Multifile field where file type validation is disabled. This allows the execution of arbitrary scripts in the context of the victim's browser. The 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.",
"evidence": "osv:CVE-2025-12848",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-12848",
"aliases": [
"CVE-2025-12848"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.drupalcode.org/project/webform_multifile",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "1c2fe6430e9f22f61b0f1e574ab4e1ff26386d82"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "7.x-1.0"
},
{
"last_affected": "7.x-1.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
}
],
"versions": [
"7.x-1.6",
"7.x-1.5",
"7.x-1.4",
"7.x-1.3",
"7.x-1.2",
"6.x-1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12848.json"
}
}
],
"modified": "2026-10-28T02:30:22.511881291Z",
"provider": "osv",
"references": [
"https://git.drupalcode.org/project/webform_multifile",
"https://www.drupal.org/project/webform_multifile",
"https://d7es.tag1.com/security-advisories/webform-multiple-file-upload-critical-cross-site-scripting",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12848.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-12848",
"https://www.d7security.org/security-advisories/D7SECURITY-SA-CONTRIB-2025-001/",
"https://www.herodevs.com/vulnerability-directory/cve-2025-12848",
"https://www.drupal.org/node/3105204"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "drupal",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12848.json"
}
},
"related_cves": [
{
"value": "CVE-2025-12848",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488625,
"published_at": "2025-11-26T01:28:33.628+00:00"
}