CVE-2025-31675

published 31 Mar 2025 · updated 2 Apr 2026

Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004

5.4MediumCVSS 5.4EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in core 10.4.5, core 11.0.13, core 11.1.5 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
DrupalLink>=7.x-1.0 <=7.x-1.12
Drupalcore>=10.4.0 <10.4.5, >=11.0.0 <11.0.13, >=11.1.0 <11.1.5, >=8.0.0 <10.3.1410.4.5, 11.0.13, 11.1.5, 10.3.14

Exploit evidence

1 public sources

Vendor advisories

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in core, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-31675 severity on Zeptric[![CVE-2025-31675](https://zeptric.io/badge/cve/CVE-2025-31675.svg)](https://zeptric.io/cve/CVE-2025-31675)