CVE-2020-1756 Cross-site scripting in Moodle

High 7.2 Published Updated

Insufficient input escaping in the PHP unit webrunner admin tool allows attackers to inject scripts, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2020-1756?

CVE-2020-1756 is a high-severity cross-site scripting vulnerability in Moodle Moodle, published on 16 Aug 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

In Moodle before 3.8.2, 3.7.5, 3.6.9 and 3.5.11, insufficient input escaping was applied to the PHP unit webrunner admin tool.

Weakness: CWE-20

Which versions are affected by CVE-2020-1756?

1 open source package ship an affected version, including moodle. It affects 1 product.

PackageAffectedFixed in
moodle BitnamiFrom 3.5.03.5.11, 3.6.9, 3.7.5, 3.8.2

Products include Moodle Moodle.

How do I fix CVE-2020-1756?

Upgrade moodle to a fixed version for your release line: 3.5.11, 3.6.9, 3.7.5 or 3.8.2.

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-2020-1756 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as BIT-moodle-2020-1756, GHSA-625r-4rf7-g699, UBUNTU-CVE-2020-1756.

Is CVE-2020-1756 in your software?

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

Check your SBOMs for free