{"id":"CVE-2023-1932","published":"2024-11-07T10:00:51Z","modified":"2024-11-07T14:09:26Z","title":"Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss","vendor":"Red Hat","product":"A-MQ Clients 2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00493,"percentile":0.43228,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-1932","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1809444","tags":["issue-tracking","x_refsource_REDHAT"]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":8.65},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"Red Hat CodeReady Studio 12","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform Continuous Delivery","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat OpenStack Platform 13 (Queens)","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Single Sign-On 7","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-07T14:09:13.280925Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.hibernate.validator:hibernate-validator","vulnerableRanges":["<6.2.0.Final"],"patched":["6.2.0.Final"],"from":["GHSA-x83m-pf6f-pf9g"],"provenance":"source"},{"ecosystem":"Maven","package":"org.hibernate:hibernate-validator","vulnerableRanges":["<6.2.0.Final"],"patched":["6.2.0.Final"],"from":["GHSA-x83m-pf6f-pf9g"],"provenance":"source"}],"summary":{"text":"The flaw is in the isValid method of the SafeHtmlValidator class within hibernate-validator, as shipped in Red Hat's A-MQ Clients 2 product, where the validation can be bypassed by omitting a tag's closing less-than character. An attacker can use this bypass to get invalid HTML past the check, which browsers may render, enabling HTML injection or cross-site scripting; this requires that a user interacts with the affected content (for example, by viewing it in a browser), while the attacker needs no privileges and only needs to supply input that reaches the validated field.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:32Z"},"euvd":{"id":"EUVD-2024-3327","exploited":false,"provenance":"source"}}