CVE-2013-5855 Improper Neutralization of Input During Web Page Generation in Mojarra

Medium 4.3 Published Updated

Remote attackers can execute arbitrary scripts in victim browsers via cross-site scripting in Oracle Mojarra JSF components.

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-2013-5855?

CVE-2013-5855 is a medium-severity cross-site scripting vulnerability in n/a, published on 17 Jul 2014. 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

Oracle Mojarra 2.2.x before 2.2.6 and 2.1.x before 2.1.28 does not perform appropriate encoding when a (1) <h:outputText> tag or (2) EL expression is used after a scriptor style block, which allows remote attackers to conduct cross-site scripting (XSS) attacks via application-specific vectors.

Weakness: CWE-79

Which versions are affected by CVE-2013-5855?

4 open source packages ship an affected version, including org.glassfish:javax.faces. It affects 1 product.

PackageAffectedFixed in
org.glassfish:javax.faces MavenFrom 2.1.02.1.28
org.glassfish:javax.faces MavenFrom 2.1.02.1.28
org.glassfish:javax.faces MavenFrom 2.2.02.2.6
org.glassfish:javax.faces MavenFrom 2.2.02.2.6

Products include Oracle Mojarra.

How do I fix CVE-2013-5855?

Upgrade org.glassfish:javax.faces to a fixed version for your release line: 2.1.28 or 2.2.6.

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-2013-5855 being exploited?

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

Sources

Also known as DEBIAN-CVE-2013-5855, GHSA-3m3r-82gc-53mj.

Is CVE-2013-5855 in your software?

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

Check your SBOMs for free