CVE-2025-31675
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
5.4
MEDIUM
CVSS 3.1
EPSS 0.09%
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.
How to fix CVE-2025-31675
To remediate CVE-2025-31675, upgrade the affected package to a fixed version below.
- —upgrade to 10.4.5 or later
- —upgrade to 10.3.14 or later
- —upgrade to 10.3.14 or later
Is CVE-2025-31675 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- >= 8.0.0, < 10.4.5, >= 11.0.0, < 11.1.5
- >= 8.0.0, < 10.3.14 | >= 10.4.0, < 10.4.5 | >= 11.0.0, < 11.0.13 | >= 11.1.0, < 11.1.5
- >= 8.0.0, < 10.3.14
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |