Skip to content

Eclipse Mojarra

XSS via h:commandScript f:param value

CVE-2026-139819Published 1 Dec 2026, 10:35 UTC

Real-world risk

1.8/ 10Low

Routine

PreliminaryFrom the CVSS vector only · confidence low

CVSS

6.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from eclipse)

In Eclipse Mojarra versions 2.3.0 to 4.0.30, 4.1.0 to 4.1.21 and 5.0.0-M1 to 5.0.0-M13, the JavaScript string literal which is rendered for an `f:param` value of `h:commandScript` escapes only single quote and backslash. The literal is written into a `script` element, so a value containing `</script>` ends the element and injects HTML and JavaScript into the page. When the application binds the value to request input, this is a reflected cross-site scripting vulnerability. When the CSP nonce mode is enabled, the same applies to `f:param` values of `h:commandLink` and `h:commandButton`, though the Content-Security-Policy then limits the impact to HTML injection.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Eclipse MojarraNiche>= 2.3.0, < 4.0.31; >= 4.1.0, < 4.1.22; >= 5.0.0-M1, < 5.0.0-M144.0.31, 4.1.22, 5.0.0-M14

What to do

Update to a fixed version: 4.0.31, 4.1.22, 5.0.0-M14.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.4% chance of exploitation in 30 days (percentile 39), as of 2026-12-02.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
  4. Rounded to one decimal between 0.1 and 101.8

How the score works

Exploitation and evidence timeline

  1. 1 Dec 2026 Published
  2. 2 Dec 2026 Risk 1.8 (cvss fallback)

Weakness

CWE-79, CWE-116

References

Get alerts for Eclipse Mojarra

Free email or text alerts when a vulnerability in Eclipse Mojarra reaches risk 8 or higher. Nothing else.