StraitOfVuln
Latest / CVE-2026-120421

CVE-2026-120421

MediumCVSS 6.1 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-120421
Published / updated
04 Nov 2026, 15:17 UTC · last modified 12 Nov 2026, 18:43 UTC
Severity
MEDIUM
CVSS score
6.1 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · Attack vector: Network
Affected vendor
Eclipse Foundation
Affected products
Eclipse Mojarra
Affected versions
Eclipse Mojarra: 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
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Eclipse Mojarra 4.0.29, Eclipse Mojarra 4.1.20, Eclipse Mojarra 5.0.0-M12
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.21% probability of exploitation in the next 30 days · 12% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
emo@eclipse.org