Skip to content

Cross-Site Scripting in @toast-ui/editor

High severity GitHub Reviewed Published Sep 3, 2020 to the GitHub Advisory Database • Updated Apr 3, 2023

Package

npm @toast-ui/editor (npm)

Affected versions

< 2.2.0

Patched versions

2.2.0

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.

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Sep 3, 2020
Last updated Apr 3, 2023

Severity

High

EPSS score

Weaknesses

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. Learn more on MITRE.

CVE ID

No known CVE

GHSA ID

GHSA-cr56-66mx-293v

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.