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.
Remediation
References
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
Related Vulnerabilities
CVE-2020-7795 Vulnerability in npm package get-npm-package-version
CVE-2022-0225 Vulnerability in maven package org.keycloak:keycloak-core
CVE-2020-7690 Vulnerability in maven package org.webjars.bowergithub.mrrio:jspdf
CVE-2021-23507 Vulnerability in npm package object-path-set
CVE-2020-9492 Vulnerability in maven package org.apache.hadoop:hadoop-hdfs-client