CVE-2012-2237 Cross-site scripting in Mahara

Medium 6.1 Published Updated

Remote attackers can inject arbitrary web script or HTML via login forms, links, resources, or user profiles in Mahara.

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-2012-2237?

CVE-2012-2237 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 13 Nov 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

Multiple cross-site scripting (XSS) vulnerabilities in Mahara 1.4.x before 1.4.3 and 1.5.x before 1.5.2 allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) javascript innerHTML as used when generating login forms, (2) links or (3) resources URLs, and (4) the Display name in a user profile.

Weakness: CWE-79

Which versions are affected by CVE-2012-2237?

It affects 2 products.

Products include Debian Debian Linux, Mahara Mahara.

How do I fix CVE-2012-2237?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2237 exists.

Public exploit code: 1 Exploit-DB entry.

All Debian Debian Linux vulnerabilities

Sources

Also known as DSA-2540-1, GHSA-w8q2-462v-r883.

Is CVE-2012-2237 in your software?

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

Check your SBOMs for free