CVE-2025-12799 Jastow: jastow cross-site scripting attack due to unsanitized uri
Attackers can execute arbitrary scripts in user browsers via unsanitized URIs in JBoss EAP when specific combined configurations are enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-12799?
CVE-2025-12799 is a medium-severity cross-site scripting vulnerability in Red Hat JBoss Enterprise Application Platform 7, published on 7 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-12799?
Linux distribution packages (40)
eap8 Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:1-9.el10eap |
eap8-activemq-artemis Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-cli Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-commons Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-core-client Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-dto Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-hornetq-protocol Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-hqclient-protocol Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-jakarta-client Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-jakarta-ra Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-jakarta-server Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-jakarta-service-extensions Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-jdbc-store Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-journal Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-native Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 1:2.0.0-2.redhat_00005.1.el10eap |
eap8-activemq-artemis-selector Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-activemq-artemis-server Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.40.0-7.redhat_00015.1.el10eap |
eap8-aesh-extensions Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:1.8.0-2.redhat_00001.1.el10eap |
eap8-aesh-readline Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.4.0-1.redhat_00002.1.el10eap |
eap8-agroal Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.3.0-1.redhat_00001.1.el10eap |
eap8-agroal-api Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.3.0-1.redhat_00001.1.el10eap |
eap8-agroal-narayana Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.3.0-1.redhat_00001.1.el10eap |
eap8-agroal-pool Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.3.0-1.redhat_00001.1.el10eap |
eap8-angus Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.0.5-1.redhat_00001.1.el10eap |
eap8-angus-activation Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.0.3-1.redhat_00001.1.el10eap |
eap8-angus-mail Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.0.5-1.redhat_00001.1.el10eap |
eap8-antlr4 Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.13.2-1.redhat_00001.1.el10eap |
eap8-antlr4-runtime Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.13.2-1.redhat_00001.1.el10eap |
eap8-apache-commons-beanutils Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:1.11.0-1.redhat_00001.1.el10eap |
eap8-apache-commons-cli Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:1.9.0-1.redhat_00001.1.el10eap |
eap8-apache-commons-codec Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:1.17.2-1.redhat_00001.1.el10eap |
eap8-apache-commons-collections Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:3.2.2-28.redhat_2.1.el10eap |
eap8-apache-commons-io Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:2.16.1-2.redhat_00002.1.el10eap |
eap8-apache-commons-lang Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:3.18.0-2.redhat_00003.1.el10eap |
eap8-apache-cxf Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.0.10-3.redhat_00001.1.el10eap |
eap8-apache-cxf-rt Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.0.10-3.redhat_00001.1.el10eap |
eap8-apache-cxf-services Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.0.10-3.redhat_00001.1.el10eap |
eap8-apache-cxf-tools Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.0.10-3.redhat_00001.1.el10eap |
eap8-apache-cxf-xjc-utils Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:4.1.0-1.redhat_00001.1.el10eap |
eap8-apache-mime4j Red Hat:jboss_enterprise_application_platform:8.1::el10 | All versions | 0:0.8.12-1.redhat_00001.1.el10eap |
How do I fix CVE-2025-12799?
Apply the vendor's patch.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-12799 being exploited?
There is no known exploitation of CVE-2025-12799 in the wild and no public exploit code.
Sources
Also known as GHSA-rfhw-2486-47r9, RHSA-2026:36342, RHSA-2026:36343, RHSA-2026:36344.