{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-12848 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-12848 is a high-severity cross-site scripting vulnerability in Drupal, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-12848 and fix it if it is affected.\n\nWhat it is: CVE-2025-12848 is a high-severity cross-site scripting vulnerability in Drupal, published on 26 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-12848 in the wild and no public exploit code.\n\nAffected product: Drupal. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-12848/ (Markdown: https://insights.sbomify.com/CVE-2025-12848/index.md)","id":"CVE-2025-12848","markdown":"https://insights.sbomify.com/CVE-2025-12848/index.md","name":"CVE-2025-12848","record":{"aliases":["CLSA-2026-1789642476","GHSA-5q8c-r7p8-3p9v"],"analysis":{"component_type":"cms_plugin","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Drupal Webform module","requires_auth":"none","summary":"An unauthenticated attacker can execute arbitrary scripts in a victim's browser by uploading a file with a malicious filename to a Drupal Webform node with disabled file type validation.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"drupal","cpe":[{"product":"webform_multiple_file_upload","vendor":"webform_multiple_file_upload_project"}],"cvss":{"score":7,"severity":"high","source":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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., \"\u003cimg src=1 onerror=alert(document.domain)\u003e\") 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"XSS vulnerability when rendering filename in Webform Multiform","id":"CVE-2025-12848","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":4,"next":{"headline":"Contest Gallery \u003c= 28.0.2 - Missing Authorization","id":"CVE-2025-12849"},"packages":[],"prev":{"headline":"Missing authorization in All in One SEO – Powerful SEO Plugin to Boost SEO Rankings \u0026 Increase Traffic","id":"CVE-2025-12847"},"products":["Drupal"],"published":"2025-11-26","related":[{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2015-4379","kev_date_added":null,"published":"2015-06-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-26","vendors":["Drupal"]},"summary":"An unauthenticated attacker can execute arbitrary scripts in a victim's browser by uploading a file with a malicious filename to a Drupal Webform node with disabled file type validation.","url":"https://insights.sbomify.com/CVE-2025-12848/"}