CVE-2021-23411

medium

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.

References

https://snyk.io/vuln/SNYK-JS-ANCHORME-1311008

https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1320695

https://github.com/alexcorvi/anchorme.js/blob/gh-pages/src/transform.ts%23L81

Details

Source: Mitre, NVD

Published: 2021-07-21

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00301