{"id":"CVE-2018-19048","aliases":["EUVD-2019-0460","GHSA-8v67-x8q5-3x3g"],"status":"published","title":"Cross-Site Scripting in simditor","description":"Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01537,"percentile":0.75037,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2019-05-13T13:13:27Z","modified":"2026-10-20T10:51:23Z","fixes":[{"ecosystem":"npm","package":"simditor","fixed_in":["2.3.22"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"simditor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.22"}]}]},{"source":"osv","ecosystem":"npm","package":"simditor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.3.22"}]}]}],"products":[{"vendor":"mycolorway","product":"simditor"}],"references":[{"url":"https://github.com/hkglue/simditor_demo.git","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/mycolorway/simditor/commit/ef01a643cbb7f8163535d6bfb71135f80ec6a6fd","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/hkglue/simditor_dom_xss/blob/master/README.md","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/mycolorway/simditor/releases/tag/v2.3.22","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-19048","tags":["advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-SIMDITOR-174638","tags":["web"]},{"url":"https://www.npmjs.com/advisories/884","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8v67-x8q5-3x3g"}],"sources":{"cve":[{"id":"CVE-2018-19048","description":"Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.","status":"published","published":"2019-05-13T13:13:27Z","modified":"2024-08-05T11:30:04.056Z","updated_at":"2026-11-02T14:35:02.966615Z"}],"euvd":[{"id":"EUVD-2019-0460","description":"Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.","status":"published","published":"2019-05-13T13:13:27Z","modified":"2024-08-05T11:30:04Z","updated_at":"2026-11-03T02:39:33.782065Z"}],"ghsa":[{"id":"GHSA-8v67-x8q5-3x3g","title":"Cross-Site Scripting in simditor","description":"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.","status":"published","published":"2019-05-14T04:01:27Z","modified":"2023-01-09T05:01:15Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:01.39976Z"}],"nvd":[{"id":"CVE-2018-19048","description":"Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.","status":"published","published":"2019-05-13T14:29:00.957Z","modified":"2026-06-17T01:48:41.57Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:57.307075Z"}],"osv":[{"id":"CVE-2018-19048","description":"Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.","status":"published","published":"2019-05-13T14:29:00.957Z","modified":"2026-10-20T10:51:23.296316308Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:08.834469Z"},{"id":"GHSA-8v67-x8q5-3x3g","title":"Cross-Site Scripting in simditor","description":"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.","status":"published","published":"2019-05-14T04:01:27Z","modified":"2023-11-08T04:00:06.654959Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:42.78452Z"}]}}
