{"id":"GHSA-cr56-66mx-293v","aliases":["GHSA-cr56-66mx-293v"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in @toast-ui/editor","summary":"Versions of `@toast-ui/editor` prior to 2.2.0 are vulnerable to Cross-Site Scripting (XSS).  There are multiple bypasses to the package's built-in XSS sanitization. This may allow attackers to execute arbitrary JavaScript on a victim's browser.\n\n## Recommendation\n\nUpgrade to version 2.2.0 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Versions of `@toast-ui/editor` prior to 2.2.0 are vulnerable to Cross-Site Scripting (XSS).  There are multiple bypasses to the package's built-in XSS sanitization. This may allow attackers to execute arbitrary JavaScript on a victim's browser.\n\n## Recommendation\n\nUpgrade to version 2.2.0 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T15:53:50.000Z","modified":"2021-10-04T21:12:14.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.2.0"}],"ecosystem":"npm","package":"@toast-ui/editor","purl":"pkg:npm/%40toast-ui/editor","source":"ghsa"}],"references":[{"url":"https://github.com/nhn/tui.editor/issues/733","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nhn/tui.editor/pull/1010","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nhn/tui.editor/commit/5f62f5eeda9e8f8bcf2075e8e0e10d22bf56d1a7","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nhn/tui.editor","tags":["package"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/1521","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cr56-66mx-293v","url":"https://github.com/advisories/GHSA-cr56-66mx-293v","licence":"CC-BY-4.0","modified":"2021-10-04T21:12:14.000Z"}],"updatedAt":"2026-11-25T22:56:45.138Z"}