Cross-Site Scripting Vulnerability in Drupal Core

5.4MEDIUM

CVE-2025-31675

Key Information:

Vendor

Drupal

CVE ID
CVE ID:
CVE-2025-31675
Vendor
CVE Published:
31 March 2025
Fixed in
Fixed in:
10.3.14, 10.4.5, 11.0.13 +1 more

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version

Several version ranges are affected; the full list is under Affected Version(s).

Install the Drupal core release that fixes your version line, or later:

10.3.1410.4.511.0.1311.1.5
Read the vendor advisory โ†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Drupal core. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (5.4).

What is CVE-2025-31675?

A Cross-Site Scripting (XSS) vulnerability exists in the Drupal core, allowing malicious users to inject arbitrary scripts into web pages. This vulnerability particularly affects versions of the Drupal core from 8.0.0 up to, but not including, 10.3.14; from 10.4.0 up to, but not including, 10.4.5; from 11.0.0 up to, but not including, 11.0.13; and from 11.1.0 up to, but not including, 11.1.5. Successful exploitation could enable attackers to execute unauthorized scripts in the content of the website, potentially compromising user data or performing actions on behalf of the user without their consent.

Affected Version(s)

Drupal core 8.0.0 < 10.3.14

Drupal core 10.4.0 < 10.4.5

Drupal core 11.0.0 < 11.0.13

References

Improper Check in Drupal

CVE-2026-136716
DrupalDrupal Core๐Ÿ˜„๐Ÿ‘พ9.8CRITICAL

Missing Authentication in Drupal

CVE-2026-132165
DrupalDrupal Core๐Ÿ”ฅ๐Ÿ˜„๐Ÿ‘พ8.1HIGH

Reflection Injection Vulnerability in Drupal Core

CVE-2026-108097
DrupalDrupal Core8.1HIGH
View more Drupal vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

CVSS V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Changed

Credit

Samuel Mortenson (samuel.mortenson)
Benji Fisher (benjifisher)
Bram Driesen (bramdriesen)
Alex Bronstein (effulgentsia)
Jen Lampton (jenlampton)
Lee Rowlands (larowlan)
Dave Long (longwave)
Drew Webber (mcdruid)
Joseph Zhao (pandaski)
Adam G-H (phenaproxima)
Samuel Mortenson (samuel.mortenson)
Jess (xjm)
.