# GHSA-cr56-66mx-293v: Cross-Site Scripting in @toast-ui/editor

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T15:53:50.000Z
- Modified: 2021-10-04T21:12:14.000Z
- Weaknesses: CWE-79

## Description

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.

## Recommendation

Upgrade to version 2.2.0 or later.

(As written by GitHub Advisory Database.)

## Affected

- @toast-ui/editor (npm): before 2.2.0

## References

- <https://github.com/nhn/tui.editor/issues/733> (web)
- <https://github.com/nhn/tui.editor/pull/1010> (web)
- <https://github.com/nhn/tui.editor/commit/5f62f5eeda9e8f8bcf2075e8e0e10d22bf56d1a7> (web)
- <https://github.com/nhn/tui.editor> (package)
- <https://www.npmjs.com/advisories/1521> (web)

## Sources

- GitHub Advisory Database: [GHSA-cr56-66mx-293v](https://github.com/advisories/GHSA-cr56-66mx-293v), CC-BY-4.0, modified 2021-10-04

---

Page: https://cve.day/GHSA-cr56-66mx-293v · Whole record: https://cve.day/GHSA-cr56-66mx-293v.json · Rebuilt by cve.day 2026-11-25T22:56:45.138Z
