CVE-2023-1932

NameCVE-2023-1932
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1063540

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libhibernate-validator-java (PTS)jessie4.0.2.GA-8vulnerable
stretch4.3.3-1+deb9u1vulnerable
buster4.3.4-1vulnerable
bullseye5.3.6-1vulnerable
bookworm5.3.6-2vulnerable
sid, trixie5.3.6-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libhibernate-validator-javasourcejessie(unfixed)end-of-life
libhibernate-validator-javasourcestretch(unfixed)end-of-life
libhibernate-validator-javasource(unstable)(unfixed)1063540

Notes

[bookworm] - libhibernate-validator-java <ignored> (Minor issue)
[bullseye] - libhibernate-validator-java <no-dsa> (Minor issue)
[buster] - libhibernate-validator-java <no-dsa> (Minor issue)
https://bugzilla.redhat.com/show_bug.cgi?id=1809444

Search for package or bug name: Reporting problems