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-2023-26049 Vulnerability in maven package org.eclipse.jetty:jetty-server
CVE-2021-41084 Vulnerability in maven package org.http4s:http4s-server_3
CVE-2021-42697 Vulnerability in maven package com.typesafe.akka:akka-http
CVE-2023-49448 Vulnerability in maven package com.jfinal:jfinal
CVE-2023-40817 Vulnerability in maven package org.opencrx:opencrx-core-models