5.4medium
Cross-site Scripting (XSS)
- Severity
- 5.4medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.16% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-w4wq-rvmq-77x7
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
| Product or package | Versions | Reported by |
|---|---|---|
| anchorme | before unspecified | CVE List |
| anchorme (npm) | up to 2.1.2 | GitHub Advisory Database |
| anchorme_project anchorme | Not specified | NVD |
All scores
| snyk | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
All versions of package anchorme are vulnerable to Cross-site Scripting (XSS) via the main functionality.
NVD (es)
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
References
| https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008 | exploit, third-party-advisory, web | |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695 | exploit, third-party-advisory, web | |
| https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81 | broken-link, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23411 | advisory | |
| https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts#23L81 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23411 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w4wq-rvmq-77x7 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-23411 changed 2026-06-17 | Public domain |