Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
Project: Drupal core Date: 2025-March-19 Security risk: Moderately critical 13 ∕ 25 AC:Basic/A:User/CI:Some/II:Some/E:Theoretical/TD:Default Vulnerability: Cross Site Scripting Affected versions: >= 8.0.0 < 10.3.14 || >= 10.4.0 < 10.4.5 || >= 11.0.0 < 11.0.13 || >= 11.1.0 < 11.1.5 CVE IDs: CVE-2025-31675 Description: Drupal core Link field attributes are not sufficiently sanitized, which can lead to a Cross Site Scripting vulnerability (XSS). This vulnerability is mitigated by that fact that an attacker would need to have the ability to add specific attributes to a Link field, which typically requires edit access via core web services, or a contrib or custom module. Sites with the Link module disabled or that do not use any link fields are not affected. Solution: Install the latest version: If you use Drupal 10.3.x, update to Drupal 10.3.14 If you use Drupal 10.4.x, update to Drupal 10.4.5 If you use Drupal 11.0.x, update to Drupal 11.0.13 If you use Drupal 11.1.x, update to Drupal 11.1.5 All versions of Drupal prior to 10.3 are end-of-life and do not receive security coverage from the Drupal Security Team. Reported By: Samuel Mortenson (samuel.mortenson) Fixed By: Anna Kalata (akalata) , provisional member of the Drupal Security Team Alex Pott (alexpott) of the Drupal Security Team Benji Fisher (benjifisher) of the Drupal Security Team Bram Driesen (bramdriesen) , provisional member of the Drupal Security Team catch (catch) of the Drupal Security Team Alex Bronstein (effulgentsia) of the Drupal Security Team Jen Lampton (jenlampton) , provisional member of the Drupal Security Team Lee Rowlands (larowlan) of the Drupal Security Team Dave Long (longwave) of the Drupal Security Team Drew Webber (mcdruid) of the Drupal Security Team Joseph Zhao (pandaski) , provisional member of the Drupal Security Team Adam G-H (phenaproxima) Samuel Mortenson (samuel.mortenson) Jess (xjm) of the Drupal Security Team
CSIRTS triage
- What
- Link field attributes are not sufficiently sanitized, leading to a Cross Site Scripting vulnerability.
- Who is affected
- Users of affected Drupal versions with the Link module enabled.
- Urgency
- Remediation is urgent due to the critical severity of the vulnerability.
- Action
- Update to the latest version of Drupal as specified.
AI-assisted analysis generated from the source advisory — verify against the original.
⚡ Watch Drupal
Get an email when a new Drupal advisory drops — max one per day, one-click unsubscribe.
Details
Original advisory: https://www.drupal.org/sa-core-2025-004
Exploitation outlook
EPSS (FIRST.org) estimates each CVE’s probability of exploitation in the next 30 days — here is the CSIRTS.com read on those numbers.
- Low exploitation riskCVE-2025-316750.46% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 37% of all scored CVEs.
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2025-31675 | coverage & exploitation status | NVD · CVE.org |
Recent advisories for Drupal core -
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- unknownCVE-2026-55808: Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerabi…nvd · 2026-07-10
- unknownCVE-2026-55807: Server-Side Request Forgery (SSRF) vulnerability in Drupal Drupal core allows Server Side Requ…nvd · 2026-07-10
- unknownCVE-2026-55806: URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Drupal Drupal core allows…nvd · 2026-07-10
- unknownCVE-2026-55804: Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability i…nvd · 2026-07-10
- unknownCVE-2026-55803: Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerability i…nvd · 2026-07-10
- unknownCVE-2026-10769: Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting") vulnerabi…nvd · 2026-07-10
More from Drupal Security Advisories
- criticalDrupal core - Moderately critical - Improper validation - SA-CORE-2026-0092026-06-17
- criticalDrupal core - Moderately critical - Server-side request forgery - SA-CORE-2026-0082026-06-17
- criticalDrupal core - Less critical - Cache poisoning and open redirect - SA-CORE-2026-0072026-06-17
- criticalDrupal core - Moderately critical - Gadget chain - SA-CORE-2026-0062026-06-17
- criticalDrupal core - Critical - PHP object injection - SA-CORE-2026-0052026-06-17