org.webjars.npm:anchorme@1.1.2 vulnerabilities

  • latest version

    1.1.2

  • first published

    6 years ago

  • latest version published

    6 years ago

  • licenses detected

  • package manager

Direct Vulnerabilities

Known vulnerabilities in the org.webjars.npm:anchorme package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

org.webjars.npm:anchorme is an A library to convert URLs to a clickable HTML anchor elements

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.

PoC

const anchorme = require("anchorme").default;
console.log(anchorme(`http://www.google.com"onmouseover='alert(1337)’`))

How to fix Cross-site Scripting (XSS)?

There is no fixed version for org.webjars.npm:anchorme.

[0,)