{"cve":"CVE-2021-23411","nvd":{"published":"2021-07-21T15:15:15.703","modified":"2026-06-17T03:38:42.850","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695","https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008","https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695"],"products":["anchorme_project:anchorme"],"source":"nvd","synced_at":"2026-10-19T21:21:13.713336758+00:00"},"epss":{"cve":"CVE-2021-23411","score":0.01164,"percentile":0.67278,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w4wq-rvmq-77x7","url":"https://osv.dev/vulnerability/GHSA-w4wq-rvmq-77x7","summary":"Cross-site scripting in anchorme","modified":"2023-11-08T04:05:08.065468Z","packages":[{"ecosystem":"npm","name":"anchorme","purl":"pkg:npm/anchorme","ranges":["<=2.1.2"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}