CVEfocus › CVE database › CVE-2023-1932

CVE-2023-1932Hibernate-validator: rendering of invalid html with safehtml leads to html injection and…

CVSS 6.1 MediumEPSS 0.7% (higher than 46% of CVEs)Published 2024-11-07Updated 2024-11-07Assigner: redhat

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.

CWE-79

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

2Fixed
4Fix pending
3Under investigation
5Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libhibernate-validator-javaFix pendingUBUNTU-CVE-2023-1932
Ubuntu 26.04libhibernate-validator-javaUnder investigationUBUNTU-CVE-2023-1932
Ubuntu 25.10libhibernate-validator-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-1932
Ubuntu 24.04libhibernate-validator-javaUnder investigationUBUNTU-CVE-2023-1932
Ubuntu 22.04libhibernate-validator-javaUnder investigationUBUNTU-CVE-2023-1932
Ubuntu 20.04libhibernate-validator-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-1932
Ubuntu 18.04libhibernate-validator-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-1932
Ubuntu 16.04libhibernate-validator-javaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-1932
Ubuntu 14.04libhibernate-validator-javaWill not fix
Ubuntu decided not to fix this in this release
Debian 14libhibernate-validator-javaFix pendingDEBIAN-CVE-2023-1932
Debian 13libhibernate-validator-javaFix pendingDEBIAN-CVE-2023-1932
Debian 12libhibernate-validator-javaFix pendingDEBIAN-CVE-2023-1932
Maven libraryorg.hibernate.validator:hibernate-validatorFixed6.2.0.FinalGHSA-x83m-pf6f-pf9g
Maven libraryorg.hibernate:hibernate-validatorFixed6.2.0.FinalGHSA-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.

References

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.