GHSA-pxmp-fwjc-4x7q

Suggest an improvement
Source
https://github.com/advisories/GHSA-pxmp-fwjc-4x7q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-pxmp-fwjc-4x7q/GHSA-pxmp-fwjc-4x7q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-pxmp-fwjc-4x7q
Published
2020-09-03T15:45:23Z
Modified
2021-10-04T20:56:09Z
Summary
HTML Injection in marky-markdown
Details

All versions of marky-markdown are vulnerable to HTML Injection due to a validation bypass. The package only allows iframes where the source is youtube.com but it is possible to bypass the validation with sources where youtube.com is the sub-domain, such as youtube.com.evil.co. This

Recommendation

This package is no longer maintained. Please upgrade to @npmcorp/marky-markdown

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

Affected packages

npm / marky-markdown

Package

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

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-pxmp-fwjc-4x7q/GHSA-pxmp-fwjc-4x7q.json"