{"id":"GHSA-8v67-x8q5-3x3g","summary":"Cross-Site Scripting in simditor","details":"Versions of `simditor` prior to 2.3.22 are vulnerable to Cross-Site Scripting. The package does not sanitize user input that is rendered with `innerHTML`, allowing attackers to execute arbitrary JavaScript.\n\n\n## Recommendation\n\nUpgrade to version 2.3.22 or later.","aliases":["CVE-2018-19048"],"modified":"2023-11-08T04:00:06.654959Z","published":"2019-05-14T04:01:27Z","database_specific":{"github_reviewed_at":"2019-05-14T01:08:11Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19048"},{"type":"WEB","url":"https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd"},{"type":"WEB","url":"https://github.com/hkglue/simditor_demo.git"},{"type":"WEB","url":"https://github.com/hkglue/simditor_dom_xss/blob/master/README.md"},{"type":"WEB","url":"https://github.com/mycolorway/simditor/releases/tag/v2.3.22"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638"},{"type":"WEB","url":"https://www.npmjs.com/advisories/884"}],"affected":[{"package":{"name":"simditor","ecosystem":"npm","purl":"pkg:npm/simditor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.22"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/05/GHSA-8v67-x8q5-3x3g/GHSA-8v67-x8q5-3x3g.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"}]}