CVE-2018-19048 Cross-Site Scripting in simditor
Attackers can execute arbitrary JavaScript in victim browsers via malformed SVG elements in the Simditor rich text editor library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-19048?
CVE-2018-19048 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 May 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Simditor through 2.3.21 allows DOM XSS via an onload attribute within a malformed SVG element.
Weakness: CWE-79
Which versions are affected by CVE-2018-19048?
2 open source packages ship an affected version, including simditor. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
simditor npm | All versions | 2.3.22 |
simditor npm | All versions | 2.3.22 |
Products include Mycolorway Simditor.
How do I fix CVE-2018-19048?
Upgrade simditor to 2.3.22 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-19048 being exploited?
There is no known exploitation of CVE-2018-19048 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8v67-x8q5-3x3g.