CVE-2012-3536 Apache James Hupa Webmail application Cross-site Scripting Vulnerabilities

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in users' browsers via crafted emails in Apache Hupa Webmail, potentially leading to session hijacking.

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

CVE-2012-3536 is a medium-severity cross-site scripting vulnerability in Apache Hupa, published on 27 Feb 2018. 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

Two XSS vulnerabilities were fixed in message list and view in the Hupa Webmail application from the Apache James project. An attacker could send a carefully crafted email to a user of Hupa which would trigger a XSS when the email was opened or when a list of messages were viewed. This issue was addressed in Hupa 0.0.3.

Weakness: CWE-79

Which versions are affected by CVE-2012-3536?

2 open source packages ship an affected version, including org.apache.james.hupa:hupa-parent. It affects 1 product.

PackageAffectedFixed in
org.apache.james.hupa:hupa-parent MavenAll versions0.0.3
org.apache.james.hupa:hupa-parent MavenAll versions0.0.3

Products include Apache Hupa.

How do I fix CVE-2012-3536?

Upgrade org.apache.james.hupa:hupa-parent to 0.0.3 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-2012-3536 being exploited?

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

Sources

Also known as GHSA-7crp-p2vc-69r7.

Is CVE-2012-3536 in your software?

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

Check your SBOMs for free