CVE-2008-1285 Cross-site scripting (XSS) vulnerability in Sun Java Server Faces (JSF)

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into applications using Sun Java Server Faces, potentially compromising user sessions.

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-2008-1285?

CVE-2008-1285 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Mar 2008. 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

Cross-site scripting (XSS) vulnerability in Sun Java Server Faces (JSF) 1.2 before 1.2_08 allows remote attackers to inject arbitrary web script or HTML via unknown vectors.

Weakness: CWE-79

Which versions are affected by CVE-2008-1285?

2 open source packages ship an affected version, including com.sun.faces:jsf-api. It affects 1 product.

PackageAffectedFixed in
com.sun.faces:jsf-api MavenAll versions1.2.08
com.sun.faces:jsf-api MavenAll versions1.2.08

Products include Sun Jsf.

How do I fix CVE-2008-1285?

Upgrade com.sun.faces:jsf-api to 1.2.08 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-2008-1285 being exploited?

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

Sources

Also known as GHSA-vv6j-5x58-q2c3.

Is CVE-2008-1285 in your software?

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

Check your SBOMs for free