{"id":"GHSA-pxmp-fwjc-4x7q","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 \n\n\n## Recommendation\n\nThis package is no longer maintained. Please upgrade to `@npmcorp/marky-markdown`","modified":"2021-10-04T20:56:09Z","published":"2020-09-03T15:45:23Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T19:00:30Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"PACKAGE","url":"https://github.com/npm/marky-markdown"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1471"}],"affected":[{"package":{"name":"marky-markdown","ecosystem":"npm","purl":"pkg:npm/marky-markdown"},"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"}}],"schema_version":"1.9.0"}