CVE-2025-31675: Drupal Core Cross-Site Scripting (XSS) Vulnerability
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.
Published Apr 1, 2025 · Updated Apr 6, 2026
Affected packages
drupal/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 8.0.0, < 10.3.14
- Fixed in
- 10.3.14
- Check
composer show drupal/core
drupal/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 10.4.0, < 10.4.5
- Fixed in
- 10.4.5
- Check
composer show drupal/core
drupal/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 11.0.0, < 11.0.13
- Fixed in
- 11.0.13
- Check
composer show drupal/core
drupal/core
- Ecosystem
- Composer (PHP)
- Affected
- >= 11.1.0, < 11.1.5
- Fixed in
- 11.1.5
- Check
composer show drupal/core
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-31675
- https://www.drupal.org/sa-core-2025-004
- https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004
- https://www.herodevs.com/vulnerability-directory/cve-2025-31675
- https://github.com/advisories/GHSA-m4wj-hhwj-47qp
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-6365
Drupal core is Vulnerable to Cross-Site Scripting
medium6.1May 20, 2026CVE-2026-6366
Drupal core allows Object Injection
medium6.6May 20, 2026CVE-2026-6367
Drupal core allows Cross-Site Scripting (XSS)
medium6.1May 20, 2026CVE-2026-9082
Drupal Core has a SQL Injection issue
critical9.8ExploitedMay 20, 2026CVE-2025-13080
Drupal core allows Forceful Browsing
low2.7Nov 18, 2025CVE-2025-13081
Drupal core allows Object Injection
medium5.9Nov 18, 2025
