6.1

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

Analyzed
AliasesUBUNTU-CVE-2023-1932DEBIAN-CVE-2023-1932GHSA-x83m-pf6f-pf9g
Published 07-11-2024Last modified 07-11-2024

Vulnerability summary

CVE-2023-1932 is a medium (CVSS 6.1) vulnerability in hibernate hibernate-validator. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 43.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.49%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 07-11-2024
    PublishedVulnerability first disclosed.
  2. 07-11-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.49% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat4 products
Debian1 product
  • libhibernate-validator-javaAll versions (No fix recorded)
Hibernate1 product
Org.hibernate1 product
  • hibernate-validator< 6.2.0.Final
Org.hibernate.validator1 product
  • hibernate-validator< 6.2.0.Final
Ubuntu1 product
  • libhibernate-validator-javaAll versions (No fix recorded)

6 vendors · 9 products

References

7 links