Vulnerability · Published Mar 31, 2025 · Assigned by drupal

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

Medium 5.4

In plain English

A medium-severity cross-site scripting in Drupal core from Drupal. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 56.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistdrupal/core10.3.14, 10.4.5, 11.0.13, 11.1.5DRUPAL-CORE-2025-004
Packagistdrupal/core10.3.14GHSA-m4wj-hhwj-47qp
Packagistdrupal/core10.4.5GHSA-m4wj-hhwj-47qp
Packagistdrupal/core11.0.13GHSA-m4wj-hhwj-47qp
Packagistdrupal/core11.1.5GHSA-m4wj-hhwj-47qp

Affected products (as reported)

VendorProductVersions
Drupal Drupal core 8.0.0 – before 10.3.1410.4.0 – before 10.4.511.0.0 – before 11.0.1311.1.0 – before 11.1.5
Drupal Link 7.x-1.0 – through 7.x-1.12

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

References