XSS in Drupal
CVE-2025-31675
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (37.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Drupal
- Drupal Core — versions 8.0.0, 10.4.0, 11.0.0
- Drupal Link — versions 7.x-1.0
Weakness classification (CWE)
References
- mlhess@drupal.org (vendor-advisory, Vendor Advisory)
- mlhess@drupal.org (third-party-advisory)
- mlhess@drupal.org (third-party-advisory)
Frequently asked questions
- What is CVE-2025-31675?
- CVE-2025-31675 is a medium-severity vulnerability in Drupal, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-03-31.
- How severe is CVE-2025-31675?
- Medium severity. CVSS v3 base score is 5.4 out of 10.