GHSA-cfjh-p3g4-3q2f

Suggest an improvement
Source
https://github.com/advisories/GHSA-cfjh-p3g4-3q2f
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-cfjh-p3g4-3q2f/GHSA-cfjh-p3g4-3q2f.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cfjh-p3g4-3q2f
Aliases
Published
2017-10-24T18:33:36Z
Modified
2023-11-08T03:57:49.831117Z
Summary
VBScript Content Injection in marked
Details

Versions 0.3.2 and earlier of marked are affected by a cross-site scripting vulnerability even when sanitize:true is set.

Proof of Concept ( IE10 Compatibility Mode Only )

[xss link](vbscript:alert(1))

will get a link

<a href="vbscript:alert(1)">xss link</a>

Recommendation

Update to version 0.3.3 or later.

Database specific
{
    "github_reviewed": true,
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:31:22Z",
    "severity": "MODERATE",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / marked

Package

Affected ranges

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