Advisory

GHSA-5ff8-jcf9-fw62

Also known as: None

Summary

Cross-Site Scripting in markdown-it-katex

Details

All versions of markdown-it-katex are vulnerable to Cross-Site Scripting (XSS). The package fails to properly escape error messages, which may allow attackers to execute arbitrary JavaScript in a victim's browser by triggering an error.

Recommendation

No fix is currently available. Consider using an alternative package until a fix is made available.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-04 17:55 UTC
Modified
2021-10-04 20:53 UTC

Affected packages and fixes

markdown-it-katex

npm · All systems

Affected

  • introduced 0.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences