Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-31675

MEDIUM 5.4EPSS 43%

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

Also known as BIT-drupal-2025-31675, DRUPAL-CORE-2025-004, GHSA-m4wj-hhwj-47qp

Mitigation

  • Upgrade drupal/core to one of 10.3.14, 10.4.5, 11.0.13, 11.1.5 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package drupal/core (>= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5)
  • Anyone running Drupal core >= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5
  • Anyone running Drupal Link >= 7.x-1.0, <= 7.x-1.12

Vulnerability facts

Affected
drupal/core >= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5
Fixed in
10.3.14, 10.4.5, 11.0.13, 11.1.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.60% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-79
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Packagist drupal/core>= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.510.3.14, 10.4.5, 11.0.13, 11.1.5osv
Drupal core>= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5—cvelist
Drupal Link>= 7.x-1.0, <= 7.x-1.12—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-31675. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-31675.md
Affected: drupal/core >= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5
Fixed in: 10.3.14, 10.4.5, 11.0.13, 11.1.5

Steps:
1. Search this machine and project for drupal/core (Packagist), Drupal core, Drupal Link: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-31675 being exploited?

There is no confirmed exploitation: CVE-2025-31675 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.60% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-31675?

Medium: CVSS 5.4 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2025-31675?

drupal/core >= 8.0.0, < 10.3.14; >= 10.4.0, < 10.4.5; >= 11.0.0, < 11.0.13; >= 11.1.0, < 11.1.5.

Is there a fix for CVE-2025-31675?

Yes. Fixed in 10.3.14, 10.4.5, 11.0.13, 11.1.5. Upgrade drupal/core to one of 10.3.14, 10.4.5, 11.0.13, 11.1.5 (or later in the same release line).

How do I check if I'm affected by CVE-2025-31675?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors