{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-31675","assignerOrgId":"2c85b837-eb8b-40ed-9d74-228c62987387","state":"PUBLISHED","assignerShortName":"drupal","dateReserved":"2025-03-31T21:30:04.614Z","datePublished":"2025-03-31T21:35:20.059Z","dateUpdated":"2026-04-02T22:35:46.920Z"},"containers":{"cna":{"providerMetadata":{"orgId":"2c85b837-eb8b-40ed-9d74-228c62987387","shortName":"drupal","dateUpdated":"2026-04-02T22:35:46.920Z"},"title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","datePublic":"2025-03-19T18:54:00.000Z","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"affected":[{"vendor":"Drupal","product":"Drupal core","collectionURL":"https://www.drupal.org/project/drupal","repo":"https://git.drupalcode.org/project/drupal","versions":[{"status":"affected","version":"8.0.0","lessThan":"10.3.14","versionType":"semver"},{"status":"affected","version":"10.4.0","lessThan":"10.4.5","versionType":"semver"},{"status":"affected","version":"11.0.0","lessThan":"11.0.13","versionType":"semver"},{"status":"affected","version":"11.1.0","lessThan":"11.1.5","versionType":"semver"}],"defaultStatus":"unaffected"},{"vendor":"Drupal","product":"Link","collectionURL":"https://www.drupal.org/project/link","repo":"https://git.drupalcode.org/project/link","versions":[{"status":"affected","version":"7.x-1.0","lessThanOrEqual":"7.x-1.12","versionType":"custom"}],"defaultStatus":"unaffected"}],"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.","supportingMedia":[{"type":"text/html","base64":false,"value":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).<p>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.&nbsp;It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.</p>"}]}],"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"]}],"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":[{"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"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-29T15:45:10.519Z"}}]}}