{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23411","published":"2021-07-21T15:15:15.703000Z","last_modified":"2026-06-17T03:38:42.850000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:anchorme_project:anchorme:*:*:*:*:*:node.js:*:*","part":"a","vendor":"anchorme_project","product":"anchorme"}],"cpes_truncated":false,"vendors":["anchorme_project"],"products":["anchorme_project/anchorme"],"epss":{"score":0.01164,"percentile":0.68171,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-w4wq-rvmq-77x7","ecosystem":"npm","name":"anchorme","purl":"pkg:npm/anchorme","ranges":[{"introduced":"0","last_affected":"2.1.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23411/","html_en":"/en/cve/CVE-2021-23411/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23411","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23411"},"untrusted":{"vendor_name":"Anchorme Project","product_name":"Anchorme","desc_en":"Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the main functionality. It accepts input that can result in the output (an anchor a tag) containing undesirable Javascript code that can be executed upon user interaction.","affected":[],"references":[{"url":"https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81","tags":["Broken Link"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008","tags":["Exploit","Third Party Advisory"]}]}}