{"id":"CVE-2021-23411","aliases":["CVE-2021-23411","GHSA-w4wq-rvmq-77x7"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"All versions of package anchorme are vulnerable to Cross-site Scripting (XSS) via the main functionality.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones afectadas de este paquete son vulnerables al Cross-site Scripting (XSS) a través de la funcionalidad principal. Acepta entradas que pueden resultar en la salida (un ancla una etiqueta) que contiene código Javascript no deseado que puede ser ejecutado en la interacción del usuario","source":"nvd"}],"published":"2021-07-21T14:50:11.146Z","modified":"2026-06-17T03:38:42.850Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"anchorme","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.1.2"}],"ecosystem":"npm","package":"anchorme","purl":"pkg:npm/anchorme","source":"ghsa"},{"ranges":[],"vendor":"anchorme_project","product":"anchorme","cpe":"cpe:2.3:a:anchorme_project:anchorme:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23411","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts#23L81","tags":["web"],"sources":["ghsa"]}],"credits":["Gabor Matuz"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23411","url":"https://www.cve.org/CVERecord?id=CVE-2021-23411","licence":"CVE Terms of Use","modified":"2024-09-16T16:38:34.717Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w4wq-rvmq-77x7","url":"https://github.com/advisories/GHSA-w4wq-rvmq-77x7","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:08.065Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23411","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23411","licence":"Public domain","modified":"2026-06-17T03:38:42.850Z"}],"updatedAt":"2026-11-25T22:58:02.765Z","epss":{"score":0.01164,"percentile":0.68171,"date":"2026-12-01T12:00:22.000Z"}}