GitHub Advisoryadvisory · npm
GHSA-w4wq-rvmq-77x7 Cross-site scripting in anchorme
MEDIUM
Official page ↗
- Aliases
- CVE-2021-23411
- Ecosystem
- npm
- Packages
- anchorme
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2021-07-26
Affected packages
• npm anchorme: <= 2.1.2 (no fix yet)
Description
All versions of package anchorme are vulnerable to Cross-site Scripting (XSS) via the main functionality.
Related
Alias · CVE (1)
- CVE-2021-23411 Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the main functionality. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23411 advisory
- https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts#23L81 web
- https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81 web
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695 web
- https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008 web