CVE-2017-9070 MODX Revolution cross-site scripting vulnerability
An attacker with resource edit permissions can inject XSS payloads into post titles, potentially executing malicious scripts in other users' browsers.
- 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-2017-9070?
CVE-2017-9070 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 May 2017. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In MODX Revolution before 2.5.7, a user with resource edit permissions can inject an XSS payload into the title of any post via the pagetitle parameter to connectors/index.php.
Weakness: CWE-79
Which versions are affected by CVE-2017-9070?
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.5.7 |
modx/revolution Packagist | All versions | 2.5.7 |
Products include Modx Modx Revolution.
How do I fix CVE-2017-9070?
Upgrade modx/revolution to 2.5.7 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-2017-9070 being exploited?
There is no known exploitation of CVE-2017-9070 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7hhg-xj2h-5vq9.