CVE-2011-4290 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into Moodle via URL encoding vectors, potentially stealing user data or hijacking accounts.

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-2011-4290?

CVE-2011-4290 is a medium-severity cross-site scripting vulnerability in Moodle Moodle, published on 16 Jul 2012. 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

Multiple cross-site scripting (XSS) vulnerabilities in lib/weblib.php in Moodle 1.9.x before 1.9.12 allow remote attackers to inject arbitrary web script or HTML via vectors related to URL encoding.

Weakness: CWE-79

Which versions are affected by CVE-2011-4290?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2011-4290?

Upgrade to a fixed version.

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-2011-4290 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-3jfw-v39g-268j.

Is CVE-2011-4290 in your software?

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

Check your SBOMs for free