{"id":"GHSA-w4wq-rvmq-77x7","summary":"Cross-site scripting in anchorme","details":"All versions of package anchorme are vulnerable to Cross-site Scripting (XSS) via the main functionality.","aliases":["CVE-2021-23411"],"modified":"2023-11-08T04:05:08.065468Z","published":"2021-07-26T21:23:58Z","database_specific":{"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-07-26T17:36:48Z","nvd_published_at":"2021-07-21T15:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23411"},{"type":"WEB","url":"https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts#23L81"},{"type":"WEB","url":"https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008"}],"affected":[{"package":{"name":"anchorme","ecosystem":"npm","purl":"pkg:npm/anchorme"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.1.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/07/GHSA-w4wq-rvmq-77x7/GHSA-w4wq-rvmq-77x7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"}]}