Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL with </script> payload in f:param input
-
DeliveryDeliver link to victim user
-
ExploitVictim loads page, literal breaks out of script element
-
ExecutionInjected JavaScript executes in victim browser
-
ImpactSteal session/perform actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to render an f:param value inside h:commandScript and to bind that value to reflected request input; the fix commit confirms the original escaping handled only single-quote and backslash, letting a '</script>' sequence terminate the script element and inject HTML/JavaScript. A victim must load the attacker-crafted request (UI:R), which limits exploitation to social-engineering delivery rather than silent mass exploitation. A separate, lower-impact path exists for f:param values of h:commandLink and h:commandButton only when CSP nonce mode is enabled, and there the Content-Security-Policy constrains the result to HTML injection rather than script execution. Applications that do not use these components with reflected input are not exposed. |
| Impact | This is a genuine but moderate-priority issue, not a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, base 6.1) describes a classic reflected XSS: network-reachable, low complexity, no privileges, but requiring user interaction (UI:R) and yielding only low confidentiality and integrity impact with a scope change into the victim's browser. The decision signals reinforce a measured posture rather than crisis response: SSVC shows Exploitation=none, Automatable=no, Technical Impact=partial, and the vuln.today priority label is 'this_month' (not act_now/emergency). No KEV field is present, so there is no confirmed active exploitation, and no EPSS score was supplied to gauge exploitation probability - that signal is missing. The references are vendor advisory and fix commits, not weaponized exploit code, so there is no public exploit identified at time of analysis. The net picture is a real, patchable web-layer flaw that depends on both a specific component usage pattern and victim interaction, warranting scheduled remediation rather than emergency response. Note one nuance to verify: exploitability is conditional on the application binding the f:param value to request input and using h:commandScript (or, in CSP nonce mode, h:commandLink/h:commandButton where CSP downgrades impact to HTML injection only) - confirm your own deployment actually renders these components from reflected input. |
| Exploit ScenarioDerived | An attacker crafts a malicious link carrying a parameter whose value contains '</script>' plus attacker-controlled HTML/JavaScript, targeting a Mojarra application that renders that value as an f:param of h:commandScript and binds it to request input. When a victim follows the link, the string literal breaks out of the script element and the injected script executes in the victim's browser session (reflected XSS). No public exploit code was identified in the provided sources; exploitation requires the victim to trigger the crafted request (UI:R). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Reflected cross-site scripting in Eclipse Mojarra (2.3.0 through 4.0.30, 4.1.0 through 4.1.21, and 5.0.0-M1 through 5.0.0-M13) occurs because the JavaScript string literal generated for an f:param value of h:commandScript escapes only single quotes and backslashes, so a value containing a closing script sequence terminates the surrounding script element and injects attacker-supplied HTML and JavaScript. The bug is remotely reachable without authentication but requires user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, 6.1), since a victim must load the crafted request; applications are only exposed if they bind such f:param values to reflected request input. CISA SSVC records no known exploitation and no public exploit code identified at time of analysis, and an upstream fix is available in Eclipse Mojarra 4.0.31, 4.1.22 and 5.0.0-M14.
RemediationAI
Upgrade to a fixed Eclipse Mojarra release: 4.0.31 for the 2.3.0/4.0.x line, 4.1.22 for the 4.1.x line, or 5.0.0-M14 for the 5.0.0 milestone line. The upstream fixes are commits 707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54, 5780c3a3621c43bf3a055a2c1a0a42de1d6fb762 and 1739f6ac368e66672f8d666673c3e9fbd9f513ad, referenced from the Eclipse advisory at https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/1575. Where an immediate upgrade is not possible, the decisive exposure factor is data binding rather than server configuration: do not bind f:param values of h:commandScript to request-controlled input, and keep such parameters static or sourced from a server-side allow-list, accepting that this restricts any dynamic behavior values those components were designed to carry. For h:commandLink and h:commandButton the residual risk exists only when CSP nonce mode is enabled, and there the Content-Security-Policy confines the outcome to HTML injection rather than script execution, so enabling nonce mode and a restrictive script-src is a partial containment measure and not a substitute for the patched renderkit.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Eclipse Mojarra is the reference implementation of Jakarta Faces (JSF), and the flaw sits in the renderkit utility that serializes component behavior into inline scripts. com.sun.faces.renderkit.RenderKitUtils.appendQuotedValue builds a single-quoted JavaScript string literal that is later emitted inside a script element for the JavaScript chained by h:commandScript / f:param, and the pre-fix code escaped only ' and \ (the two characters that would break out of the enclosing single quotes). It did not account for the HTML parsing context: a browser terminates a script element at the literal byte sequence that closes it, so a value containing that sequence escapes the script block even though the JavaScript literal itself stays syntactically valid. This is CWE-79 (improper neutralization of input during web page generation), specifically an output-encoding context mismatch between JavaScript string escaping and HTML script-element escaping. The upstream commit 707e9e5a3fe6a68cf4ddecc81dd60758ac04ab54 rewrites the routine to route control characters, the angle brackets, ampersand and the Unicode line/paragraph separators through \uXXXX escapes while leaving non-ASCII and surrogate pairs untouched, and adds RenderKitUtilsQuotedValueTest covering plain values, non-ASCII, quotes/backslashes, line terminators and control characters. Two companion commits (5780c3a3621c43bf3a055a2c1a0a42de1d6fb762 and 1739f6ac368e66672f8d666673c3e9fbd9f513ad) cover the h:commandLink / h:commandButton paths that are only relevant when CSP nonce mode is enabled.
Know when Eclipse Mojarra gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Reflected XSS: network-reachable with no auth (PR:N) but requiring the victim to trigger the request (UI:R), executing in the browser (S:C) with limited C/I impact and no availability impact.
Primary rating from Vendor (eclipse).
CVSS VectorVendor: eclipse
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-140053
GHSA-pxjv-xmm7-jwxr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB