CVE-2018-20756 MODX Revolution allows XSS via document resources

Medium 6.1 Published Updated

Cross-site scripting in MODX Revolution allows attackers to inject scripts via document resources, potentially leading to session hijacking or code execution.

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-20756?

CVE-2018-20756 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Feb 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

MODX Revolution through v2.7.0-pl allows XSS via a document resource (such as pagetitle), which is mishandled during an Update action, a Quick Edit action, or the viewing of manager logs.

Weakness: CWE-79

Which versions are affected by CVE-2018-20756?

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

PackageAffectedFixed in
modx/revolution PackagistAll versions2.7.1-pl
modx/revolution PackagistAll versions2.7.1-pl

Products include Modx Modx Revolution.

How do I fix CVE-2018-20756?

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

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

Sources

Also known as GHSA-fpxg-5x79-43rm.

Is CVE-2018-20756 in your software?

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

Check your SBOMs for free