What’s Vulnerable › Vulnerabilities
CVE-2025-31675: Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-03-31 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- Drupal: 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 — fixed in 10.3.14, 10.4.5, 11.0.13, 11.1.5
How to fix
Upgrade to a fixed version: Drupal 10.3.14, 10.4.5, 11.0.13, 11.1.5. Check the vendor advisory for mitigations.
References
- https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004
- https://www.drupal.org/sa-core-2025-004
- https://www.herodevs.com/vulnerability-directory/cve-2025-31675
Get alerted when CVE-2025-31675 or the next vulnerability affects your stack