Skip to content
Fencer Vulns
medium 6.1

CVE-2023-1932 json

Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss

published 2024-11-07 2 y ago modified 2026-06-17 4 mo ago also GHSA-x83m-pf6f-pf9g , EUVD-2024-3327

cvss
6.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.hibernate.validator:hibernate-validator 6.2.0.Final
  • maven org.hibernate:hibernate-validator 6.2.0.Final
  • hibernate hibernate-validator 6.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-1932 updated cvss 6.1

hibernate-validator: rendering of invalid html with SafeHTML leads to HTML injection and XSS

  • Red Hat BPM Suite 6 hibernate-validator Red Hat Decision Manager 7 hibernate-validator Red Hat Fuse 7 hibernate-validator Red Hat JBoss BRMS 5 hibernate-validator Red Hat JBoss Data Grid 7 hibernate-validator Red Hat JBoss Data Virtualization 6 hibernate-validator
    +2 more products
    Red Hat JBoss Enterprise Application Platform 5 hibernate-validator Red Hat JBoss Enterprise Application Platform 6 hibernate-validator
    affected: no fix planned “Out of support scope”
  • Red Hat JBoss Enterprise Application Platform 7 hibernate-validator Red Hat JBoss Enterprise Application Platform Continuous Delivery hibernate-validator
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse 6 hibernate-validator Red Hat JBoss Fuse Service Works 6 hibernate-validator Red Hat JBoss Operations Network 3 hibernate-validator Red Hat JBoss SOA Platform 5 hibernate-validator Red Hat OpenStack Platform 10 (Newton) opendaylight
    affected: no fix planned “Out of support scope”
  • Red Hat OpenStack Platform 13 (Queens) opendaylight
    affected: no fix planned “Will not fix”
  • Red Hat Process Automation 7 hibernate-validator
    affected: no fix planned “Out of support scope”
  • Red Hat Satellite 6 candlepin, candlepin-selinux
    affected: no fix planned “Will not fix”
  • Red Hat Single Sign-On 7 hibernate-validator
    affected: no fix available
  • Red Hat support for Spring Boot hibernate-validator
    affected: no fix planned “Out of support scope”
show 1 more
  • Red Hat A-MQ Clients 2 org.apache.logging.log4j-log4j org.apache.logging.log4j-log4j Red Hat Cryostat 2 hibernate-validator Red Hat A-MQ Online io.enmasse-enmasse io.enmasse-enmasse Red Hat AMQ Broker 7 hibernate-validator Red Hat Data Grid 8 hibernate-validator Red Hat streams for Apache Kafka hibernate-validator
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
maven org.hibernate.validator:hibernate-validator
<6.2.0.Final
6.2.0.Final
maven org.hibernate:hibernate-validator
<6.2.0.Final
6.2.0.Final

Affected products

  • Red Hat A-MQ Clients 2
  • Red Hat Cryostat 2
  • Red Hat Red Hat AMQ Broker 7
  • Red Hat Red Hat A-MQ Online
  • Red Hat Red Hat BPM Suite 6
  • Red Hat Red Hat CodeReady Studio 12
  • Red Hat Red Hat Data Grid 8
  • Red Hat Red Hat Decision Manager 7
  • Red Hat Red Hat Fuse 7
  • Red Hat Red Hat JBoss BRMS 5
  • Red Hat Red Hat JBoss Data Grid 7
  • Red Hat Red Hat JBoss Data Virtualization 6
  • Red Hat Red Hat JBoss Enterprise Application Platform 5
  • Red Hat Red Hat JBoss Enterprise Application Platform 6
  • Red Hat Red Hat JBoss Enterprise Application Platform 7
  • Red Hat Red Hat JBoss Enterprise Application Platform Continuous Delivery
  • Red Hat Red Hat JBoss Fuse 6
  • Red Hat Red Hat JBoss Fuse Service Works 6
  • Red Hat Red Hat JBoss Operations Network 3
  • Red Hat Red Hat JBoss SOA Platform 5
  • Red Hat Red Hat OpenStack Platform 10 (Newton)
  • Red Hat Red Hat OpenStack Platform 13 (Queens)
  • Red Hat Red Hat Process Automation 7
  • Red Hat Red Hat Satellite 6
  • Red Hat Red Hat Single Sign-On 7
  • Red Hat Red Hat support for Spring Boot
  • Red Hat streams for Apache Kafka

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.