{"id":"GHSA-mrmf-qwxg-7c3h","summary":"XSS in Data URI in remarkable","details":"Affected versions of `remarkable` are vulnerable to cross-site scripting. Vulnerable versions of the package allow the use of `data:` URIs in links, and can therefore execute javascript. \n\n\n## Proof of Concept\n\n```markdown\n[link](data:text/html,\u003cscript\u003ealert('0')\u003c/script\u003e)\n```\n\n\n## Recommendation\n\nUpdate to v1.7.0 or later","aliases":["CVE-2017-16006"],"modified":"2023-11-08T03:58:59.342969Z","published":"2018-11-09T17:48:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:47:10Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16006"},{"type":"WEB","url":"https://github.com/jonschlinkert/remarkable/issues/227"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mrmf-qwxg-7c3h"},{"type":"WEB","url":"https://www.npmjs.com/advisories/319"}],"affected":[{"package":{"name":"remarkable","ecosystem":"npm","purl":"pkg:npm/remarkable"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.7.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 1.6.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-mrmf-qwxg-7c3h/GHSA-mrmf-qwxg-7c3h.json"}}],"schema_version":"1.9.0"}