GHSA-ccrp-c664-8p4j

Suggest an improvement
Source
https://github.com/advisories/GHSA-ccrp-c664-8p4j
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-ccrp-c664-8p4j/GHSA-ccrp-c664-8p4j.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ccrp-c664-8p4j
Published
2020-09-03T21:17:36Z
Modified
2021-09-29T19:59:57Z
Summary
Cross-Site Scripting in markdown-to-jsx
Details

Versions of markdown-to-jsx prior to 6.11.4 are vulnerable to Cross-Site Scripting. Due to insufficient input sanitization the package may render output containing malicious JavaScript. This vulnerability can be exploited through input of links containing data or VBScript URIs and a base64-encoded payload.

Recommendation

Upgrade to version 6.11.4 or later.

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

Affected packages

npm / markdown-to-jsx

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
6.11.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-ccrp-c664-8p4j/GHSA-ccrp-c664-8p4j.json"