{"api_version":"1","generated_at":"2026-04-23T02:37:50+00:00","cve":"CVE-2025-31675","urls":{"html":"https://cve.report/CVE-2025-31675","api":"https://cve.report/api/cve/CVE-2025-31675.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-31675","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-31675"},"summary":{"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.","state":"PUBLISHED","assigner":"drupal","published_at":"2025-03-31 22:15:20","updated_at":"2026-04-02 23:17:04"},"problem_types":["CWE-79","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":[{"version":"3.1","source":"ADP","type":"DECLARED","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},{"version":"3.1","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","score":"5.4","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2025-31675","name":"https://www.herodevs.com/vulnerability-directory/cve-2025-31675","refsource":"mlhess@drupal.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004","name":"https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004","refsource":"mlhess@drupal.org","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.drupal.org/sa-core-2025-004","name":"https://www.drupal.org/sa-core-2025-004","refsource":"mlhess@drupal.org","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-31675","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-31675","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Drupal","product":"Drupal core","version":"affected 8.0.0 10.3.14 semver","platforms":[]},{"source":"CNA","vendor":"Drupal","product":"Drupal core","version":"affected 10.4.0 10.4.5 semver","platforms":[]},{"source":"CNA","vendor":"Drupal","product":"Drupal core","version":"affected 11.0.0 11.0.13 semver","platforms":[]},{"source":"CNA","vendor":"Drupal","product":"Drupal core","version":"affected 11.1.0 11.1.5 semver","platforms":[]},{"source":"CNA","vendor":"Drupal","product":"Link","version":"affected 7.x-1.0 7.x-1.12 custom","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Samuel Mortenson (samuel.mortenson)","lang":"en"},{"source":"CNA","value":"Benji Fisher (benjifisher)","lang":"en"},{"source":"CNA","value":"Bram Driesen (bramdriesen)","lang":"en"},{"source":"CNA","value":"Alex Bronstein (effulgentsia)","lang":"en"},{"source":"CNA","value":"Jen Lampton (jenlampton)","lang":"en"},{"source":"CNA","value":"Lee Rowlands (larowlan)","lang":"en"},{"source":"CNA","value":"Dave Long (longwave)","lang":"en"},{"source":"CNA","value":"Drew Webber (mcdruid)","lang":"en"},{"source":"CNA","value":"Joseph Zhao (pandaski)","lang":"en"},{"source":"CNA","value":"Adam G-H (phenaproxima)","lang":"en"},{"source":"CNA","value":"Samuel Mortenson (samuel.mortenson)","lang":"en"},{"source":"CNA","value":"Jess  (xjm)","lang":"en"}],"nvd_cpes":[{"cve_year":"2025","cve_id":"31675","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal","cpe5":"drupal","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},{"other":{"content":{"id":"CVE-2025-31675","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2025-04-01T18:21:31.894556Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2025-04-29T15:45:10.519Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"collectionURL":"https://www.drupal.org/project/drupal","defaultStatus":"unaffected","product":"Drupal core","repo":"https://git.drupalcode.org/project/drupal","vendor":"Drupal","versions":[{"lessThan":"10.3.14","status":"affected","version":"8.0.0","versionType":"semver"},{"lessThan":"10.4.5","status":"affected","version":"10.4.0","versionType":"semver"},{"lessThan":"11.0.13","status":"affected","version":"11.0.0","versionType":"semver"},{"lessThan":"11.1.5","status":"affected","version":"11.1.0","versionType":"semver"}]},{"collectionURL":"https://www.drupal.org/project/link","defaultStatus":"unaffected","product":"Link","repo":"https://git.drupalcode.org/project/link","vendor":"Drupal","versions":[{"lessThanOrEqual":"7.x-1.12","status":"affected","version":"7.x-1.0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"finder","value":"Samuel Mortenson (samuel.mortenson)"},{"lang":"en","type":"remediation developer","value":"Benji Fisher (benjifisher)"},{"lang":"en","type":"remediation developer","value":"Bram Driesen (bramdriesen)"},{"lang":"en","type":"remediation developer","value":"Alex Bronstein (effulgentsia)"},{"lang":"en","type":"remediation developer","value":"Jen Lampton (jenlampton)"},{"lang":"en","type":"remediation developer","value":"Lee Rowlands (larowlan)"},{"lang":"en","type":"remediation developer","value":"Dave Long (longwave)"},{"lang":"en","type":"remediation developer","value":"Drew Webber (mcdruid)"},{"lang":"en","type":"remediation developer","value":"Joseph Zhao (pandaski)"},{"lang":"en","type":"remediation developer","value":"Adam G-H (phenaproxima)"},{"lang":"en","type":"remediation developer","value":"Samuel Mortenson (samuel.mortenson)"},{"lang":"en","type":"remediation developer","value":"Jess  (xjm)"}],"datePublic":"2025-03-19T18:54:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","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>"}],"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."}],"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-04-02T22:35:46.920Z","orgId":"2c85b837-eb8b-40ed-9d74-228c62987387","shortName":"drupal"},"references":[{"tags":["vendor-advisory"],"url":"https://www.drupal.org/sa-core-2025-004"},{"tags":["third-party-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"}],"source":{"discovery":"UNKNOWN"},"title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004","x_generator":{"engine":"Vulnogram 0.2.0"}}},"cveMetadata":{"assignerOrgId":"2c85b837-eb8b-40ed-9d74-228c62987387","assignerShortName":"drupal","cveId":"CVE-2025-31675","datePublished":"2025-03-31T21:35:20.059Z","dateReserved":"2025-03-31T21:30:04.614Z","dateUpdated":"2026-04-02T22:35:46.920Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2025-03-31 22:15:20","lastModifiedDate":"2026-04-02 23:17:04","problem_types":["CWE-79","CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":2.7}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"10.3.14","matchCriteriaId":"5203ABED-9A31-41A8-9A2E-51114DB3806C"},{"vulnerable":true,"criteria":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"10.4.0","versionEndExcluding":"10.4.5","matchCriteriaId":"3A7811E7-6793-4CE0-B866-B72B59415A5F"},{"vulnerable":true,"criteria":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"11.0.0","versionEndExcluding":"11.0.13","matchCriteriaId":"CDD587C1-9A62-4104-92B3-65B6E04BDC95"},{"vulnerable":true,"criteria":"cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*","versionStartIncluding":"11.1.0","versionEndExcluding":"11.1.5","matchCriteriaId":"13E1698C-D69F-4B55-B7B9-1E0F0A7888D6"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2025","CveId":"31675","Ordinal":"1","Title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CO","CVE":"CVE-2025-31675","Year":"2025"},"notes":[{"CveYear":"2025","CveId":"31675","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Drupal core - Moderately critical - Cross Site Scripting - SA-CO"}]}}}