{"id":"CVE-2025-31675","summary":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","details":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).This issue affects Drupal core: from 8.0.0 before 10.3.14, from 10.4.0 before 10.4.5, from 11.0.0 before 11.0.13, from 11.1.0 before 11.1.5. It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.","aliases":["BIT-drupal-2025-31675","DRUPAL-CORE-2025-004","GHSA-m4wj-hhwj-47qp"],"modified":"2026-09-04T11:45:40.991505379Z","published":"2025-03-31T21:35:20.059Z","database_specific":{"cna_assigner":"drupal","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31675.json"},"references":[{"type":"WEB","url":"https://git.drupalcode.org/project/drupal"},{"type":"WEB","url":"https://git.drupalcode.org/project/link"},{"type":"WEB","url":"https://www.drupal.org/project/drupal"},{"type":"WEB","url":"https://www.drupal.org/project/link"},{"type":"ADVISORY","url":"https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31675.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31675"},{"type":"ADVISORY","url":"https://www.drupal.org/sa-core-2025-004"},{"type":"ADVISORY","url":"https://www.herodevs.com/vulnerability-directory/cve-2025-31675"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.drupalcode.org/project/drupal","events":[{"introduced":"35c2f3ca5c935f3d8bde15932a712677c9bbd50f"},{"fixed":"2c5ca7aca6286a0cb14d26c046490f6db19c591a"},{"introduced":"efaa2a46341068974ec6927416ac58f1bed84cbb"},{"fixed":"18ab15707b4dc70a63b5758f64f11b9edbf61f78"},{"introduced":"140f94ff1051644c4416c7ed30cc5dd1f14507b2"},{"fixed":"59b775ad8bc01baa7fc232454c0529eb0cb6f682"},{"introduced":"09d3d7fd4a638e3cc53eff60922765ad3af19c66"},{"fixed":"f286521ced6bdf91c92e9ff533c24021e8fc02f9"}],"database_specific":{"extracted_events":[{"introduced":"8.0.0"},{"fixed":"10.3.14"},{"introduced":"10.4.0"},{"fixed":"10.4.5"},{"introduced":"11.0.0"},{"fixed":"11.0.13"},{"introduced":"11.1.0"},{"fixed":"11.1.5"}],"source":"AFFECTED_FIELD"}},{"type":"GIT","repo":"https://git.drupalcode.org/project/link","events":[{"introduced":"2b160048c1fe2e04e86c9c394c56396e97641321"},{"last_affected":"688d36a3c1b919936c167d05c65e8a1f1acac03f"}],"database_specific":{"extracted_events":[{"introduced":"7.x-1.0"},{"last_affected":"7.x-1.12"}],"source":"AFFECTED_FIELD"}},{"type":"GIT","repo":"https://github.com/drupal/drupal","events":[{"introduced":"35c2f3ca5c935f3d8bde15932a712677c9bbd50f"},{"fixed":"2c5ca7aca6286a0cb14d26c046490f6db19c591a"},{"introduced":"efaa2a46341068974ec6927416ac58f1bed84cbb"},{"fixed":"18ab15707b4dc70a63b5758f64f11b9edbf61f78"},{"introduced":"140f94ff1051644c4416c7ed30cc5dd1f14507b2"},{"fixed":"59b775ad8bc01baa7fc232454c0529eb0cb6f682"},{"introduced":"09d3d7fd4a638e3cc53eff60922765ad3af19c66"},{"fixed":"f286521ced6bdf91c92e9ff533c24021e8fc02f9"}],"database_specific":{"cpe":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"8.0.0"},{"fixed":"10.3.14"},{"introduced":"10.4.0"},{"fixed":"10.4.5"},{"introduced":"11.0.0"},{"fixed":"11.0.13"},{"introduced":"11.1.0"},{"fixed":"11.1.5"}],"source":"CPE_RANGE"}}],"versions":["10.3.13","10.4.4","11.0.12","11.1.4","10.3.12","10.4.2","11.0.11","11.1.2","10.3.11","10.4.1","11.0.10","11.1.1","10.4.0","11.1.0","10.3.10","11.0.9","10.3.8","11.0.7","10.3.7","11.0.6","10.3.6","11.0.5","10.3.5","11.0.4","10.3.4","11.0.3","10.3.3","11.0.2","10.3.2","11.0.1","11.0.0","10.3.1","10.3.0-rc1","10.3.0-beta1","10.1.0-alpha1","10.0.0-alpha5","10.0.0-alpha4","10.0.0-alpha3","10.0.0-alpha1","9.0.0-alpha2","9.0.0-alpha1","8.1.0-beta1","8.0.0","7.x-1.12","7.x-1.11","7.x-1.10","7.x-1.9","7.x-1.8","7.x-1.7","7.x-1.5-beta3","7.x-1.5-beta2","7.x-1.5-beta1","7.x-1.4","7.x-1.3","7.x-1.2","7.x-1.1","7.x-1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-31675.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}