{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-12799 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2025-12799 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2025-12799 in the wild and no public exploit code.\n\nAffected product: Red Hat JBoss Enterprise Application Platform 7. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-12799/ (Markdown: https://insights.sbomify.com/CVE-2025-12799/index.md)","id":"CVE-2025-12799","markdown":"https://insights.sbomify.com/CVE-2025-12799/index.md","name":"CVE-2025-12799","record":{"aliases":["GHSA-rfhw-2486-47r9","RHSA-2026:36342","RHSA-2026:36343","RHSA-2026:36344"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"JBoss EAP","requires_auth":"none","summary":"Attackers can execute arbitrary scripts in user browsers via unsanitized URIs in JBoss EAP when specific combined configurations are enabled.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Red Hat:jboss_enterprise_application_platform:8.1::el10","Red Hat:jboss_enterprise_application_platform:8.1::el8","Red Hat:jboss_enterprise_application_platform:8.1::el9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Jastow: jastow cross-site scripting attack due to unsanitized uri","id":"CVE-2025-12799","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":498,"n_references":6,"next":{"headline":"WP Shortcodes Plugin — Shortcodes Ultimate \u003c= 7.4.5 - Authenticated (Administrator+) Server-Side Request Forgery","id":"CVE-2025-12800"},"packages":[{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:1-9.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8","purl":"pkg:rpm/redhat/eap8","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis","purl":"pkg:rpm/redhat/eap8-activemq-artemis","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-cli","purl":"pkg:rpm/redhat/eap8-activemq-artemis-cli","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-commons","purl":"pkg:rpm/redhat/eap8-activemq-artemis-commons","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-core-client","purl":"pkg:rpm/redhat/eap8-activemq-artemis-core-client","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-dto","purl":"pkg:rpm/redhat/eap8-activemq-artemis-dto","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-hornetq-protocol","purl":"pkg:rpm/redhat/eap8-activemq-artemis-hornetq-protocol","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-hqclient-protocol","purl":"pkg:rpm/redhat/eap8-activemq-artemis-hqclient-protocol","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-jakarta-client","purl":"pkg:rpm/redhat/eap8-activemq-artemis-jakarta-client","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-jakarta-ra","purl":"pkg:rpm/redhat/eap8-activemq-artemis-jakarta-ra","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-jakarta-server","purl":"pkg:rpm/redhat/eap8-activemq-artemis-jakarta-server","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-jakarta-service-extensions","purl":"pkg:rpm/redhat/eap8-activemq-artemis-jakarta-service-extensions","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-jdbc-store","purl":"pkg:rpm/redhat/eap8-activemq-artemis-jdbc-store","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-journal","purl":"pkg:rpm/redhat/eap8-activemq-artemis-journal","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["1:2.0.0-2.redhat_00005.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-native","purl":"pkg:rpm/redhat/eap8-activemq-artemis-native","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-selector","purl":"pkg:rpm/redhat/eap8-activemq-artemis-selector","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.40.0-7.redhat_00015.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-activemq-artemis-server","purl":"pkg:rpm/redhat/eap8-activemq-artemis-server","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:1.8.0-2.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-aesh-extensions","purl":"pkg:rpm/redhat/eap8-aesh-extensions","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.4.0-1.redhat_00002.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-aesh-readline","purl":"pkg:rpm/redhat/eap8-aesh-readline","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.3.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-agroal","purl":"pkg:rpm/redhat/eap8-agroal","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.3.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-agroal-api","purl":"pkg:rpm/redhat/eap8-agroal-api","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.3.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-agroal-narayana","purl":"pkg:rpm/redhat/eap8-agroal-narayana","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.3.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-agroal-pool","purl":"pkg:rpm/redhat/eap8-agroal-pool","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.0.5-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-angus","purl":"pkg:rpm/redhat/eap8-angus","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.0.3-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-angus-activation","purl":"pkg:rpm/redhat/eap8-angus-activation","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.0.5-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-angus-mail","purl":"pkg:rpm/redhat/eap8-angus-mail","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.13.2-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-antlr4","purl":"pkg:rpm/redhat/eap8-antlr4","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.13.2-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-antlr4-runtime","purl":"pkg:rpm/redhat/eap8-antlr4-runtime","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:1.11.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-beanutils","purl":"pkg:rpm/redhat/eap8-apache-commons-beanutils","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:1.9.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-cli","purl":"pkg:rpm/redhat/eap8-apache-commons-cli","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:1.17.2-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-codec","purl":"pkg:rpm/redhat/eap8-apache-commons-codec","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:3.2.2-28.redhat_2.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-collections","purl":"pkg:rpm/redhat/eap8-apache-commons-collections","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:2.16.1-2.redhat_00002.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-io","purl":"pkg:rpm/redhat/eap8-apache-commons-io","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:3.18.0-2.redhat_00003.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-commons-lang","purl":"pkg:rpm/redhat/eap8-apache-commons-lang","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.0.10-3.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-cxf","purl":"pkg:rpm/redhat/eap8-apache-cxf","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.0.10-3.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-cxf-rt","purl":"pkg:rpm/redhat/eap8-apache-cxf-rt","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.0.10-3.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-cxf-services","purl":"pkg:rpm/redhat/eap8-apache-cxf-services","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.0.10-3.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-cxf-tools","purl":"pkg:rpm/redhat/eap8-apache-cxf-tools","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:4.1.0-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-cxf-xjc-utils","purl":"pkg:rpm/redhat/eap8-apache-cxf-xjc-utils","source":"RHSA-2026:36344"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:8.1::el10","fixed":["0:0.8.12-1.redhat_00001.1.el10eap"],"introduced":["0"],"last_affected":[],"package":"eap8-apache-mime4j","purl":"pkg:rpm/redhat/eap8-apache-mime4j","source":"RHSA-2026:36344"}],"prev":{"headline":"Path traversal in ASCI","id":"CVE-2025-12793"},"products":["Red Hat JBoss Enterprise Application Platform 7","Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 10","Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 8","Red Hat JBoss Enterprise Application Platform 8.1 for RHEL 9","Red Hat JBoss Enterprise Application Platform 8.1.7.GA","Red Hat JBoss Enterprise Application Platform Expansion Pack","Red Hat Single Sign-On 7"],"published":"2026-07-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["Red Hat"]},"summary":"Attackers can execute arbitrary scripts in user browsers via unsanitized URIs in JBoss EAP when specific combined configurations are enabled.","url":"https://insights.sbomify.com/CVE-2025-12799/"}