p PatchFirst

CVE-2026-120421

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

CVSS 6.1 · Medium · EPSS 0.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="mojarra"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Stack: system

Affected products and versions

  • eclipse mojarra

    Versions
    • ≥ 2.2.0, < 4.0.29: Affected (semver)
    • ≥ 4.1.0, < 4.1.20: Affected (semver)
    • ≥ 5.0.0-M1, < 5.0.0-M12: Affected (semver)

    Update to 4.0.29; Update to 4.1.20

  • mojarra Debian 12

    Versions
    • 2.2.8-6
    • 2.2.8-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Debian 13

    Versions
    • 2.2.8-6
    • 2.2.8-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Debian 14

    Versions
    • 2.2.8-6
    • 2.2.8-7
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 16.04 LTS

    Versions
    • 2.2.8-1
    • 2.2.8-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 18.04 LTS

    Versions
    • 2.2.8-3
    • 2.2.8-4
    • 2.2.8-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 20.04 LTS

    Versions
    • 2.2.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 22.04 LTS

    Versions
    • 2.2.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 24.04 LTS

    Versions
    • 2.2.8-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 26.10

    Versions
    • 2.2.8-6build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • mojarra Ubuntu 26.04 LTS

    Versions
    • 2.2.8-6
    • 2.2.8-6build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →