Read the docs

Reflected cross-site scripting in Eclipse Mojarra client window URLs

Priority LOW 27CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 3 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-79.

Summary

Eclipse Mojarra from 2.2.0 before 4.0.29, from 4.1.0 before 4.1.20, and from 5.0.0-M1 before 5.0.0-M12 is affected. With URL client window mode enabled, the client window id from a request parameter is appended to generated URLs without URL-encoding, and h:button renders that URL into a JavaScript string literal (CWE-79). A remote attacker can make a user run script in the browser by getting the user to open a crafted link, and with com.sun.faces.enableCspNonce=true the script bypasses Content Security Policy.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

Description from the CNA

In Eclipse Mojarra versions 2.2.0 through 4.0.28, 4.1.0 through 4.1.19, and 5.0.0-M1 through 5.0.0-M11, when URL client window mode is enabled (`jakarta.faces.CLIENT_WINDOW_MODE=url`), the client window id from the `jfwid` or `jakarta.faces.ClientWindow` request parameter is appended to generated URLs without URL-encoding. `h:button` renders such a URL into a JavaScript string literal, which allows reflected cross-site scripting. With `com.sun.faces.enableCspNonce=true`, the injected script runs on page load inside the nonce script element, bypassing the Content Security Policy.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0021 11th percentileScored 2026-11-07
Fix Partial Eclipse Mojarra (Eclipse Foundation): 4.0.29, 4.1.20, 5.0.0-M12Red Hat: 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Eclipse FoundationEclipse Mojarra2.2.0 to before 4.0.29; 4.1.0 to before 4.1.20; 5.0.0-M1 to before 5.0.0-M124.0.29, 4.1.20, 5.0.0-M12Patch availableCNA
  • Eclipse Mojarra VendorEclipse Foundation Affected 2.2.0 to before 4.0.29; 4.1.0 to before 4.1.20; 5.0.0-M1 to before 5.0.0-M12 Fixed in 4.0.29, 4.1.20, 5.0.0-M12 Patch available CNA

Remediation

Upgrade Eclipse Mojarra to 4.0.29, 4.1.20, or 5.0.0-M12, depending on the release line in use. The sources list no fixed version for JBoss Enterprise Application Platform 7, 8, or the Expansion Pack.

Written with Claude Haiku 5.5 from the sources below · 2026-11-06

  • Fix · CNA Eclipse Mojarra (Eclipse Foundation) Fixed in 4.0.29, 4.1.20, 5.0.0-M12

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat JBoss Enterprise Application Platform 7AffectedNo fix planned: Out of support scope
Red Hat JBoss Enterprise Application Platform 8AffectedNo fix yet: Fix deferred
Red Hat JBoss Enterprise Application Platform Expansion PackAffectedNo fix yet: Fix deferred

Timeline

  1. 2026-11-04 Threatist record created from CVE-2026-120421
  2. 2026-11-04 Alias added: GHSA-4hw7-pfg5-v529
  3. 2026-11-04 CISA SSVC decision points changed
  4. 2026-11-04 Priority changed: MEDIUM → LOW
  5. 2026-11-06 Affected versions changed · Red Hat
  6. 2026-11-06 CVSS score added · Red Hat

References

  • TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
  • TI-2026-81947 Unauthenticated command injection in Eclipse Che che-machine-exec CVSS 3.1CRITICAL 9.8
  • TI-2026-13216 CWE-863: ABAC authorization bypass via trailing slash route normalization in Eclipse BaSyx Go Components CVSS 3.1CRITICAL 9.8
  • TI-2026-06514 Path traversal in Eclipse BaSyx CVSS 3.1CRITICAL 10.0
  • TI-2026-01382 In the Eclipse Theia Website repository, the GitHub Actions workflow… CVSS 3.1CRITICAL 10.0
  • TI-2026-74697 Authentication bypass in Eclipse Jetty EthereumAuthenticator CVSS 4.0CRITICAL 9.3
See all 466 →

Sources