Vulnerability · Published Jul 21, 2021 · Assigned by snyk
CVE-2021-23411Cross-site Scripting (XSS)
Medium 5.4
In plain English
A medium-severity security flaw in anchorme. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 67% of all known vulnerabilities).
Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)1.2%top 32.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | anchorme | no fix listed | GHSA-w4wq-rvmq-77x7 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695 x_refsource_MISC
- https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81 x_refsource_MISC