CVE-2023-1932Hibernate-validator: rendering of invalid html with safehtml leads to html injection and…
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.
What to do
Fixed builds are available from Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libhibernate-validator-java | Fix pending | UBUNTU-CVE-2023-1932 | |
| Ubuntu 26.04 | libhibernate-validator-java | Under investigation | UBUNTU-CVE-2023-1932 | |
| Ubuntu 25.10 | libhibernate-validator-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-1932 | |
| Ubuntu 24.04 | libhibernate-validator-java | Under investigation | UBUNTU-CVE-2023-1932 | |
| Ubuntu 22.04 | libhibernate-validator-java | Under investigation | UBUNTU-CVE-2023-1932 | |
| Ubuntu 20.04 | libhibernate-validator-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-1932 | |
| Ubuntu 18.04 | libhibernate-validator-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-1932 | |
| Ubuntu 16.04 | libhibernate-validator-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-1932 | |
| Ubuntu 14.04 | libhibernate-validator-java | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | libhibernate-validator-java | Fix pending | DEBIAN-CVE-2023-1932 | |
| Debian 13 | libhibernate-validator-java | Fix pending | DEBIAN-CVE-2023-1932 | |
| Debian 12 | libhibernate-validator-java | Fix pending | DEBIAN-CVE-2023-1932 | |
| Maven library | org.hibernate.validator:hibernate-validator | Fixed | 6.2.0.Final | GHSA-x83m-pf6f-pf9g |
| Maven library | org.hibernate:hibernate-validator | Fixed | 6.2.0.Final | GHSA-x83m-pf6f-pf9g |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat A-MQ Clients 2
- Red Hat Cryostat 2
- Red Hat AMQ Broker 7
- Red Hat A-MQ Online
- 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
References
- https://access.redhat.com/security/cve/CVE-2023-1932
- https://bugzilla.redhat.com/show_bug.cgi?id=1809444
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.