{"id":"GHSA-wg85-p6j7-gp3w","summary":"SimpleMDE XSS Vulnerability","details":"SimpleMDE 1.11.2 has XSS via an onerror attribute of a crafted IMG element, or via certain input with `[` and `(` characters, which is mishandled during construction of an `A` element.","aliases":["CVE-2018-19057"],"modified":"2023-11-08T04:00:06.778Z","published":"2018-11-21T22:21:25Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T22:00:23Z","nvd_published_at":null,"cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19057"},{"type":"WEB","url":"https://github.com/sparksuite/simplemde-markdown-editor/issues/721"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-wg85-p6j7-gp3w"},{"type":"PACKAGE","url":"https://github.com/sparksuite/simplemde-markdown-editor"}],"affected":[{"package":{"name":"simplemde","ecosystem":"npm","purl":"pkg:npm/simplemde"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.11.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-wg85-p6j7-gp3w/GHSA-wg85-p6j7-gp3w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}