CVE-2018-20758 MODX vulnerability allows for XSS via user settings parameters
Cross-site scripting vulnerability in MODX Revolution allows attackers to inject malicious scripts via user settings, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-20758?
CVE-2018-20758 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Feb 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
MODX Revolution through v2.7.0-pl allows XSS via User Settings such as Description.
Weakness: CWE-79
Which versions are affected by CVE-2018-20758?
2 open source packages ship an affected version, including modx/revolution. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
modx/revolution Packagist | All versions | 2.7.1-pl |
modx/revolution Packagist | All versions | 2.7.1-pl |
Products include Modx Modx Revolution.
How do I fix CVE-2018-20758?
Upgrade modx/revolution to 2.7.1-pl 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-20758 being exploited?
There is no known exploitation of CVE-2018-20758 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vwqw-wfhv-2xcq.