CVE-2012-3393 Cross-site scripting in n/a

Low 3.5 Published Updated

Authenticated administrators can inject arbitrary scripts via repository renaming, potentially compromising user sessions or data.

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

What is CVE-2012-3393?

CVE-2012-3393 is a low-severity cross-site scripting vulnerability in Moodle Moodle, published on 23 Jul 2012. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Cross-site scripting (XSS) vulnerability in repository/lib.php in Moodle 2.1.x before 2.1.7 and 2.2.x before 2.2.4 allows remote authenticated administrators to inject arbitrary web script or HTML by renaming a repository.

Weakness: CWE-79

Which versions are affected by CVE-2012-3393?

It affects 1 product.

Products include Moodle Moodle.

How do I fix CVE-2012-3393?

No fix has been published for CVE-2012-3393 yet. Limit exposure of the affected software until one is available.

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-2012-3393 being exploited?

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

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-cx8w-wqgc-mpmh.

Is CVE-2012-3393 in your software?

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

Check your SBOMs for free