Security mailing lists by PureSourceCode

CVE-2026-139819

MEDIUM 6.1CVSS 3.1

XSS via h:commandScript f:param value

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.

Published
1 Dec 2026
Last modified
2 Dec 2026
Assigned by
emo@eclipse.org
NVD status
Awaiting Analysis
Weakness
CWE-116CWE-79
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD emo@eclipse.org (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE List eclipse CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Eclipse Foundation Eclipse Mojarra >= 2.3.0, < 4.0.31; >= 4.1.0, < 4.1.22; >= 5.0.0-M1, < 5.0.0-M14 4.0.31, 4.1.22, 5.0.0-M14

References

History

  • 2 Dec 2026 20:46 UTC · NVD: status Received → Awaiting Analysis
  • 1 Dec 2026 16:27 UTC · NVD: updated (other details)
  • 1 Dec 2026 15:49 UTC · CVE List: updated (other details)
  • 1 Dec 2026 11:23 UTC · NVD: first stored (published 1 Dec 2026)
  • 1 Dec 2026 10:58 UTC · CVE List: first stored (published 1 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.