CVE-2017-9068 MODX Revolution Reflected XSS

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via reflected XSS in the MODX Revolution setup page.

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-2017-9068?

CVE-2017-9068 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 May 2017. 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

In MODX Revolution before 2.5.7, an attacker is able to trigger Reflected XSS by injecting payloads into several fields on the setup page, as demonstrated by the database_type parameter.

Weakness: CWE-79

Which versions are affected by CVE-2017-9068?

2 open source packages ship an affected version, including modx/revolution. It affects 1 product.

PackageAffectedFixed in
modx/revolution PackagistAll versions2.5.7
modx/revolution PackagistAll versions2.5.7

Products include Modx Modx Revolution.

How do I fix CVE-2017-9068?

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-9068 being exploited?

There is no known exploitation of CVE-2017-9068 in the wild and no public exploit code.

Sources

Also known as GHSA-vrw6-7vgj-vj7x.

Is CVE-2017-9068 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free