{"answers":{"affected":"4 open source packages ship an affected version, including org.hibernate.validator:hibernate-validator and org.hibernate:hibernate-validator. It affects 5 products.","exploited":"There is no known exploitation of CVE-2023-1932 in the wild and no public exploit code.","fix":"Upgrade org.hibernate.validator:hibernate-validator to 6.2.0.Final or later.","what":"CVE-2023-1932 is a medium-severity cross-site scripting vulnerability in Redhat Jboss Enterprise Application Platform, published on 7 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-1932 and fix it if it is affected.\n\nWhat it is: CVE-2023-1932 is a medium-severity cross-site scripting vulnerability in Redhat Jboss Enterprise Application Platform, published on 7 Nov 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-1932 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.hibernate.validator:hibernate-validator (Maven): affected all versions; fixed in 6.2.0.Final\n- org.hibernate.validator:hibernate-validator (Maven): affected all versions; fixed in 6.2.0.Final\n- org.hibernate:hibernate-validator (Maven): affected all versions; fixed in 6.2.0.Final\n- org.hibernate:hibernate-validator (Maven): affected all versions; fixed in 6.2.0.Final\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-2023-1932/ (Markdown: https://insights.sbomify.com/CVE-2023-1932/index.md)","id":"CVE-2023-1932","markdown":"https://insights.sbomify.com/CVE-2023-1932/index.md","name":"CVE-2023-1932","record":{"aliases":["CLSA-2026-1792693332","DEBIAN-CVE-2023-1932","GHSA-x83m-pf6f-pf9g","UBUNTU-CVE-2023-1932"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Java validation library","requires_auth":"none","summary":"Attackers can bypass SafeHtml validation to inject malicious HTML and execute scripts in user browsers via Hibernate Validator.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"hibernate-validator","vendor":"hibernate"},{"product":"codeready_studio","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"openstack_platform","vendor":"redhat"},{"product":"single_sign-on","vendor":"redhat"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A flaw was found in hibernate-validator's 'isValid' method in the org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator class, which can be bypassed by omitting the tag ending in a less-than character. Browsers may render an invalid html, allowing HTML injection or Cross-Site-Scripting (XSS) attacks.","ecosystems":["Maven"],"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":"Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss","id":"CVE-2023-1932","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform","redhat:single_sign-on"],"type":"xss","year":"2023"},"n_packages":4,"n_references":2,"next":{"headline":"SQL injection in PnPSCADA","id":"CVE-2023-1934"},"packages":[{"ecosystem":"Maven","fixed":["6.2.0.Final"],"introduced":["0"],"last_affected":[],"package":"org.hibernate.validator:hibernate-validator","purl":null,"source":"GHSA-x83m-pf6f-pf9g"},{"ecosystem":"Maven","fixed":["6.2.0.Final"],"introduced":["0"],"last_affected":[],"package":"org.hibernate.validator:hibernate-validator","purl":"pkg:maven/org.hibernate.validator/hibernate-validator","source":"GHSA-x83m-pf6f-pf9g"},{"ecosystem":"Maven","fixed":["6.2.0.Final"],"introduced":["0"],"last_affected":[],"package":"org.hibernate:hibernate-validator","purl":null,"source":"GHSA-x83m-pf6f-pf9g"},{"ecosystem":"Maven","fixed":["6.2.0.Final"],"introduced":["0"],"last_affected":[],"package":"org.hibernate:hibernate-validator","purl":"pkg:maven/org.hibernate/hibernate-validator","source":"GHSA-x83m-pf6f-pf9g"}],"prev":{"headline":"WP Fastest Cache \u003c= 1.1.2 - Missing Authorization in 'deleteCssAndJsCacheToolbar'","id":"CVE-2023-1931"},"products":["A-MQ Clients 2","Cryostat 2","Red Hat A-MQ Online","Red Hat AMQ Broker 7","Red Hat BPM Suite 6","Red Hat CodeReady Studio 12","Red Hat Data Grid 8","Red Hat Decision Manager 7","Red Hat Fuse 7","Red Hat JBoss BRMS 5","Red Hat JBoss Data Grid 7","Red Hat JBoss Data Virtualization 6","Red Hat JBoss Enterprise Application Platform 5","Red Hat JBoss Enterprise Application Platform 6","Red Hat JBoss Enterprise Application Platform 7","Red Hat JBoss Enterprise Application Platform Continuous Delivery","Red Hat JBoss Fuse 6","Red Hat JBoss Fuse Service Works 6","Red Hat JBoss Operations Network 3","Red Hat JBoss SOA Platform 5","Red Hat OpenStack Platform 10 (Newton)","Red Hat OpenStack Platform 13 (Queens)","Red Hat Process Automation 7","Red Hat Satellite 6","Red Hat Single Sign-On 7","Red Hat support for Spring Boot","streams for Apache Kafka"],"published":"2024-11-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2024-11-07","vendors":["Red Hat"]},"summary":"Attackers can bypass SafeHtml validation to inject malicious HTML and execute scripts in user browsers via Hibernate Validator.","url":"https://insights.sbomify.com/CVE-2023-1932/"}