medium5.4
CVE-2021-23411
Cross-site scripting in anchorme
Impact
All versions of package anchorme are vulnerable to Cross-site Scripting (XSS) via the main functionality.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | anchorme | <= 2.1.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Anchorme Project | Anchorme | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-w4wq-rvmq-77x7
- https://nvd.nist.gov/vuln/detail/CVE-2021-23411
- https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts#23L81