{"id":"CVE-2025-31675","state":"PUBLISHED","title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","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.","publishedAt":"2025-03-31T21:35:20.059Z","updatedAt":"2026-04-02T22:35:46.920Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"drupal","products":["Drupal Drupal core","Drupal Link"],"affected":[{"vendor":"Drupal","product":"Drupal core","defaultStatus":"unaffected","versions":[{"version":"8.0.0","status":"affected","lessThan":"10.3.14","versionType":"semver"},{"version":"10.4.0","status":"affected","lessThan":"10.4.5","versionType":"semver"},{"version":"11.0.0","status":"affected","lessThan":"11.0.13","versionType":"semver"},{"version":"11.1.0","status":"affected","lessThan":"11.1.5","versionType":"semver"}],"collectionURL":"https://www.drupal.org/project/drupal","repo":"https://git.drupalcode.org/project/drupal"},{"vendor":"Drupal","product":"Link","defaultStatus":"unaffected","versions":[{"version":"7.x-1.0","status":"affected","lessThanOrEqual":"7.x-1.12","versionType":"custom"}],"collectionURL":"https://www.drupal.org/project/link","repo":"https://git.drupalcode.org/project/link"}],"references":["https://www.drupal.org/sa-core-2025-004","https://www.herodevs.com/vulnerability-directory/cve-2025-31675","https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:55.257Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/31xxx/CVE-2025-31675.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-31675","state":"PUBLISHED","datePublished":"2025-03-31T21:35:20.059Z","dateUpdated":"2026-04-02T22:35:46.920Z","assignerShortName":"drupal","assignerOrgId":"2c85b837-eb8b-40ed-9d74-228c62987387","dateReserved":"2025-03-31T21:30:04.614Z"},"containers":{"cna":{"title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","descriptions":[{"lang":"en","value":"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":[{"vendor":"Drupal","product":"Drupal core","defaultStatus":"unaffected","versions":[{"version":"8.0.0","status":"affected","lessThan":"10.3.14","versionType":"semver"},{"version":"10.4.0","status":"affected","lessThan":"10.4.5","versionType":"semver"},{"version":"11.0.0","status":"affected","lessThan":"11.0.13","versionType":"semver"},{"version":"11.1.0","status":"affected","lessThan":"11.1.5","versionType":"semver"}],"collectionURL":"https://www.drupal.org/project/drupal","repo":"https://git.drupalcode.org/project/drupal"},{"vendor":"Drupal","product":"Link","defaultStatus":"unaffected","versions":[{"version":"7.x-1.0","status":"affected","lessThanOrEqual":"7.x-1.12","versionType":"custom"}],"collectionURL":"https://www.drupal.org/project/link","repo":"https://git.drupalcode.org/project/link"}],"references":[{"url":"https://www.drupal.org/sa-core-2025-004","tags":["vendor-advisory"]},{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-31675","tags":["third-party-advisory"]},{"url":"https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004","tags":["third-party-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"drupal","orgId":"2c85b837-eb8b-40ed-9d74-228c62987387","dateUpdated":"2026-04-02T22:35:46.920Z"},"datePublic":"2025-03-19T18:54:00.000Z","impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"credits":[{"lang":"en","value":"Samuel Mortenson (samuel.mortenson)","type":"finder"},{"lang":"en","value":"Benji Fisher (benjifisher)","type":"remediation developer"},{"lang":"en","value":"Bram Driesen (bramdriesen)","type":"remediation developer"},{"lang":"en","value":"Alex Bronstein (effulgentsia)","type":"remediation developer"},{"lang":"en","value":"Jen Lampton (jenlampton)","type":"remediation developer"},{"lang":"en","value":"Lee Rowlands (larowlan)","type":"remediation developer"},{"lang":"en","value":"Dave Long (longwave)","type":"remediation developer"},{"lang":"en","value":"Drew Webber (mcdruid)","type":"remediation developer"},{"lang":"en","value":"Joseph Zhao (pandaski)","type":"remediation developer"},{"lang":"en","value":"Adam G-H (phenaproxima)","type":"remediation developer"},{"lang":"en","value":"Samuel Mortenson (samuel.mortenson)","type":"remediation developer"},{"lang":"en","value":"Jess  (xjm)","type":"remediation developer"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-01T18:21:31.894556Z","id":"CVE-2025-31675","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-29T15:45:10.519Z"}}]}}}