NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2008-1285 — jsf-api

MEDIUM

CVE-2008-1285 is a medium-severity (CVSS 5.3) Cross-site Scripting (XSS) vulnerability in com.sun.faces:jsf-api. A fix is available for com.sun.faces:jsf-api — see the affected versions and patch details below.

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

Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
2.5%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs85th percentile — riskier than 85% of all scored CVEsHighest risk
0.07%1.08%2.09%3.11%0.6%2.5%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
☕com.sun.faces:jsf-api

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
☕Mavencom.sun.faces:jsf-apiall versions1.2.08com.sun.faces:jsf-api:1.2.08

Affected Products

1 product · 1 configurations
Application
jsfsun
≤ 1.2_07
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.sun.faces:jsf-api, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update com.sun.faces:jsf-api to 1.2.08 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2008-1285 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
JBEAP 4.2.0 for RHEL 4glassfish-javamail-0:1.4.0-0jpp.ep1.9.el4RHSA-2008:0825
JBEAP 4.2.0 for RHEL 5hibernate3-1:3.2.4-1.SP1_CP03.0jpp.ep1.1.el5RHSA-2008:0827
Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 4glassfish-javamail-0:1.4.0-0jpp.ep1.9.el4RHSA-2008:0826
Red Hat JBoss Enterprise Application Platform 4.3 for RHEL 5asm-0:1.5.3-1jpp.ep1.2.el5RHSA-2008:0828

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2008-1285 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2008-1285: jsf-api XSS — Fixed in 1.2.08