CVE-2025-12799

Jastow: jastow cross-site scripting attack due to unsanitized uri

Published Jul 7, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in Jastow. Jastow is vulnerable to Cross-Site Scripting (XSS) attack. If using a set of combined configuration to allow unescaped characters in URL with embedded Undertow and Jastow, a server might be vulnerable to improper input handling.

Analysis

AI-generated

Technical impact

Jastow is vulnerable to a cross‑site scripting flaw (CWE‑79) that arises when unescaped characters in URLs are allowed by the embedded Undertow configuration. If an attacker injects crafted input into a URI, the server may reflect it without proper sanitization, allowing the victim’s browser to execute arbitrary JavaScript. The impact is client‑side script execution via reflected input.

Affected Systems

Red Hat JBoss Enterprise Application Platform versions 7, 8, 8.1 (including EL 8, EL 9, and EL 10 distributions) and the Red Hat Single Sign‑On 7 are affected. These are the products listed in the CNA vendor‑product entries and the matched CPEs.

Risk and Exploitability

The vulnerability has a CVSS score of 6.5 indicating moderate severity. EPSS score of <1 % indicates a very low exploitation probability, and the flaw is not listed in the CISA KEV catalog, implying no publicly known attacks have been reported. The attack vector is inferred to be remote, web‑based, relying on an authenticated or unauthenticated client sending a specially crafted URL to the server. Successful exploitation requires the specific configuration where Undertow allows unescaped characters in the URL and Jastow’s escape‑error‑message setting is enabled.

Remediation

Vendor Workaround

It is possible to contruct successful attack vector if and only if customer or client is using embedded Undertow and Jastow together in their application and the following conditions are met: * Undertow was configured with UndertowOptions.ALLOW_UNESCAPED_CHARACTERS_IN_URL set to 'true' value * DeploymentInfo configured with setEscapeErrorMessage(true) method was passed to Undertow's Servlet Container instance


OpenCVE Recommended Actions

  • Apply the Red Hat security updates RHSA-2026:36342, RHSA-2026:36343, RHSA-2026:36344, and RHSA-2026:36345 to mitigate the XSS flaw
  • Follow the official CNA workaround: ensure that Undertow is not configured with UndertowOptions.ALLOW_UNESCAPED_CHARACTERS_IN_URL set to true and that setEscapeErrorMessage(true) is not enabled in the deployment – this prevents the conditions necessary for exploitation until a patch is applied
  • Disable the unsafe Undertow configuration by setting UndertowOptions.ALLOW_UNESCAPED_CHARACTERS_IN_URL to false and removing any setEscapeErrorMessage(true) usage
  • Apply URL filtering at the reverse proxy to reject requests containing unescaped characters before they reach Jastow

Generated by OpenCVE AI on July 31, 2026 at 14:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8.1
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8.1::el10
cpe:/a:redhat:jboss_enterprise_application_platform:8.1::el8
cpe:/a:redhat:jboss_enterprise_application_platform:8.1::el9
References
Type Values Removed Values Added
Description A flaw was found in Jastow. Jastow is vulnerable to Cross-Site Scripting (XSS) attack. If using a set of combined configuration to allow unescaped characters in URL with embedded Undertow and Jastow, a server might be vulnerable to improper input handling.
Title Jastow: jastow cross-site scripting attack due to unsanitized uri
First Time appeared Redhat
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
Weaknesses CWE-79
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:7
cpe:/a:redhat:jboss_enterprise_application_platform:8
cpe:/a:redhat:jbosseapxp
cpe:/a:redhat:red_hat_single_sign_on:7
Vendors & Products Redhat
Redhat jboss Enterprise Application Platform
Redhat jbosseapxp
Redhat red Hat Single Sign On
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 25, 2026, 2:35 AM
Reserved
Nov 6, 2025, 11:15 AM
Status
Awaiting Analysis
Published
Jul 7, 2026, 5:16 PM
Modified
Nov 25, 2026, 3:17 AM
Severity
Moderate
Public date
Jul 7, 2026, 12:00 AM