@stoplight/markdown@1.0.1 vulnerabilities

Useful functions when working with Markdown.

Direct Vulnerabilities

Known vulnerabilities in the @stoplight/markdown 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)

@stoplight/markdown is an Useful functions when working with Markdown. Leverages the Unified / Remark ecosystem under the hood.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). It is possible to inject malicious JavaScript as part of the markdown feature of stoplightio studio.

PoC

[call calc](javascript:window.require('child_process').execFile('/System/Applications/Calculator.app/Contents/MacOS/Calculator',function(){}))

How to fix Cross-site Scripting (XSS)?

Upgrade @stoplight/markdown to version 2.11.0 or higher.

<2.11.0