GHSA-5ff8-jcf9-fw62

Suggest an improvement
Source
https://github.com/advisories/GHSA-5ff8-jcf9-fw62
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5ff8-jcf9-fw62/GHSA-5ff8-jcf9-fw62.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5ff8-jcf9-fw62
Published
2020-09-04T17:55:35Z
Modified
2021-10-04T20:53:26Z
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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T19:00:19Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / markdown-it-katex

Package

Name
markdown-it-katex
View open source insights on deps.dev
Purl
pkg:npm/markdown-it-katex

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5ff8-jcf9-fw62/GHSA-5ff8-jcf9-fw62.json"