CVE-2025-31675
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 CVE-2025-31675
Get an email if CVE-2025-31675 is added to CISA KEV, gains public exploit code, or a new advisory cites it — max one per day, one-click unsubscribe.
Exploitation outlook
- Low exploitation risk0.46% 30-day exploitation probability — currently an unlikely target, but scores change as exploit code circulates. Riskier than 37% of all EPSS-scored CVEs.
Advisory coverage (1)
- criticalDrupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004drupal · 2025-03-19
External references
Embed the live status
— this badge updates automatically when the KEV or exploit status changes. How to embed it →
[](https://www.csirts.com/cve/CVE-2025-31675)