{"id":"CVE-2025-31675","aliases":["CVE-2025-31675","GHSA-m4wj-hhwj-47qp","BIT-DRUPAL-2025-31675","DRUPAL-CORE-2025-004"],"related":[],"kind":"vulnerability","state":"published","title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Drupal core Link field attributes are not sufficiently sanitized, which can lead to a Cross Site Scripting vulnerability (XSS).\n\nThis 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.\n\nSites with the Link module disabled or that do not use any link fields are not affected.","format":"markdown","source":"drupal"},{"lang":"es","text":"Vulnerabilidad de neutralización incorrecta de entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal Drupal core permite Cross-Site Scripting (XSS). Este problema afecta al núcleo de Drupal: desde la versión 8.0.0 hasta la 10.3.14, desde la versión 10.4.0 hasta la 10.4.5, desde la versión 11.0.0 hasta la 11.0.13, desde la versión 11.1.0 hasta la 11.1.5.","source":"nvd"}],"published":"2025-03-19T18:54:35.000Z","modified":"2026-09-19T14:49:06.000Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"LOW"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"8.0.0","fixed":"10.3.14","status":"affected"},{"type":"semver","introduced":"10.4.0","fixed":"10.4.5","status":"affected"},{"type":"semver","introduced":"11.0.0","fixed":"11.0.13","status":"affected"},{"type":"semver","introduced":"11.1.0","fixed":"11.1.5","status":"affected"}],"vendor":"Drupal","product":"Drupal core","repo":"https://git.drupalcode.org/project/drupal","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"7.x-1.0","lastAffected":"7.x-1.12","status":"affected"}],"vendor":"Drupal","product":"Link","repo":"https://git.drupalcode.org/project/link","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"10.3.14"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"10.4.0","status":"affected","fixed":"10.4.5"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.0.13"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"11.1.0","status":"affected","fixed":"11.1.5"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"10.3.14"},{"type":"ecosystem","introduced":"10.4.0","status":"affected","fixed":"10.4.5"},{"type":"ecosystem","introduced":"11.0.0","status":"affected","fixed":"11.0.13"},{"type":"ecosystem","introduced":"11.1.0","status":"affected","fixed":"11.1.5"}],"ecosystem":"Packagist","package":"drupal/core","purl":"pkg:composer/drupal/core","source":"drupal"},{"ranges":[{"status":"affected","introduced":"8.0.0","fixed":"10.3.14"},{"status":"affected","introduced":"10.4.0","fixed":"10.4.5"},{"status":"affected","introduced":"11.0.0","fixed":"11.0.13"},{"status":"affected","introduced":"11.1.0","fixed":"11.1.5"}],"vendor":"drupal","product":"drupal","cpe":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"10.4.5"},{"type":"semver","introduced":"11.0.0","status":"affected","fixed":"11.1.5"}],"ecosystem":"Bitnami","package":"drupal","purl":"pkg:bitnami/drupal","source":"bitnami"}],"references":[{"url":"https://www.drupal.org/sa-core-2025-004","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","drupal","nvd","bitnami"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-31675","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31675","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/drupal/core","tags":["package"],"sources":["ghsa"]}],"credits":["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)","Jess  (xjm)"],"assigner":"drupal","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-01T18:21:31.894Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-31675","url":"https://www.cve.org/CVERecord?id=CVE-2025-31675","licence":"CVE Terms of Use","modified":"2026-04-02T22:35:46.920Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m4wj-hhwj-47qp","url":"https://github.com/advisories/GHSA-m4wj-hhwj-47qp","licence":"CC-BY-4.0","modified":"2026-04-06T17:46:18.151Z"},{"source":"drupal","name":"Drupal Security Team","id":"DRUPAL-CORE-2025-004","url":"https://osv.dev/vulnerability/DRUPAL-CORE-2025-004","licence":"MIT","modified":"2026-09-19T14:49:06.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-31675","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31675","licence":"Public domain","modified":"2026-06-17T09:10:44.933Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-DRUPAL-2025-31675","url":"https://osv.dev/vulnerability/BIT-DRUPAL-2025-31675","licence":"Apache-2.0","modified":"2026-09-08T08:47:13.785Z"}],"updatedAt":"2026-11-25T22:58:55.750Z","epss":{"score":0.00502,"percentile":0.44528,"date":"2026-12-01T12:00:22.000Z"}}