CVE-2025-12848 XSS vulnerability when rendering filename in Webform Multiform
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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
filename 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
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| drupal/drupal | >= 7.x-1.0, <= 7.x-1.6 | after 7.x-1.6 | Fixed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.2; = 7.x-1.3; = 7.x-1.4; = 7.x-1.5 +2 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| drupal/drupal | >= 7.x-1.0, <= 7.x-1.6 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.2 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.3 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.4 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.5 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.6 | No fix listed |
| webform multiple file upload project webform multiple file upload | = 7.x-1.x-dev | No fix listed |
References
- www.drupal.org issue-tracking patch vendor-advisory
- www.d7security.org third-party-advisory
- www.herodevs.com third-party-advisory
- d7es.tag1.com third-party-advisory