CVE-2018-6561 dijit editor cross-site scripting vulnerability
Cross-site scripting vulnerability in Dojo Toolkit allows attackers to execute arbitrary scripts via SVG onload attributes.
- 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-6561?
CVE-2018-6561 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Feb 2018. 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
dijit.Editor in Dojo Toolkit 1.13 allows XSS via the onload attribute of an SVG element.
Weakness: CWE-79
Which versions are affected by CVE-2018-6561?
2 open source packages ship an affected version, including dijit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
dijit npm | All versions | 1.13.1 |
dijit npm | All versions | 1.13.1 |
Products include Dojotoolkit Dojo.
How do I fix CVE-2018-6561?
Upgrade dijit to 1.13.1 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-6561 being exploited?
There is no known exploitation of CVE-2018-6561 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2018-6561, GHSA-wp32-wq34-2rqh, UBUNTU-CVE-2018-6561.