Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-120421— Reflected XSS via client window id in URL client window mode

Quick assessment

Affected
Eclipse Foundation Eclipse Mojarra
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Eclipse Mojarra 2.2.0 至 4.0.28、4.1.0 至 4.1.19 以及 5.0.0-M1 至 5.0.0-M11 版本中,当启用 URL 客户端窗口模式( )时,来自 或 请求参数的客户端窗口 ID 会被直接附加到生成的 URL 中,且未进行 URL 编码。 组件会将此类 URL 渲染为 JavaScript 字符串字面量,从而导致反射型跨站脚本攻击(XSS)。此外,若配置了 ,注入的脚本将在页面加载时于 nonce 元素内执行,从而绕过内容安全策略(CSP)。

CVSS 6.1 · Medium
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-120421

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Reflected XSS via client window id in URL client window mode
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Eclipse Foundation Eclipse Mojarra 2.2.0 ~ 4.0.29 -

II. Public POCs for CVE-2026-120421

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120421

请登录查看更多情报信息。

Other References for CVE-2026-120421 (2)

IV. Related Vulnerabilities