{"id":"GHSA-cr56-66mx-293v","summary":"Cross-Site Scripting in @toast-ui/editor","details":"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.","modified":"2021-10-04T21:12:14Z","published":"2020-09-03T15:53:50Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T19:02:06Z","nvd_published_at":null,"cwe_ids":["CWE-79"],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/nhn/tui.editor/issues/733"},{"type":"WEB","url":"https://github.com/nhn/tui.editor/pull/1010"},{"type":"WEB","url":"https://github.com/nhn/tui.editor/commit/5f62f5eeda9e8f8bcf2075e8e0e10d22bf56d1a7"},{"type":"PACKAGE","url":"https://github.com/nhn/tui.editor"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1521"}],"affected":[{"package":{"name":"@toast-ui/editor","ecosystem":"npm","purl":"pkg:npm/%40toast-ui/editor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.2.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-cr56-66mx-293v/GHSA-cr56-66mx-293v.json"}}],"schema_version":"1.9.0"}