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

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.

Published: 2024-11-07 Last update: 2025-06-24 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-1932 is rated Moderate Risk (50.8/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.85%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-1932

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-29 0.62% 0.85% +0.22%
2 2026-03-04 0.30% 0.62% +0.33%
3 2026-03-03 0.30%

Full EPSS history (19 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-1932

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.1 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 2.7 [email protected]

Weakness enumeration for CVE-2023-1932

GitHub Security Advisory for CVE-2023-1932

GHSA-x83m-pf6f-pf9g · Severity: medium · Ecosystem: maven — hibernate-validator Cross-site Scripting vulnerability

OS Trackers for CVE-2023-1932

vendor priority summary link
debian not yet assigned CVE-2023-1932 not yet assigned priority: Debian including 1 source packages (libhibernate-validator-java), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2023-1932
redhat medium https://access.redhat.com/security/cve/CVE-2023-1932
ubuntu medium CVE-2023-1932 medium priority: Ubuntu including 1 source packages (libhibernate-validator-java), 11 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 4. https://ubuntu.com/security/CVE-2023-1932

Affected software / configurations for CVE-2023-1932

Vendor Product Version Raw CPE
redhat codeready_studio 12.0 cpe:2.3:a:redhat:codeready_studio:12.0:*:*:*:*:*:*:*
redhat jboss_enterprise_application_platform cpe:2.3:a:redhat:jboss_enterprise_application_platform:-:*:*:*:continuous_delivery:*:*:*
redhat jboss_enterprise_application_platform 7.0.0 cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0.0:*:*:*:*:*:*:*
redhat openstack_platform 13.0 cpe:2.3:a:redhat:openstack_platform:13.0:*:*:*:*:*:*:*
redhat single_sign-on 7.0 cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:*
hibernate hibernate-validator < 6.2 cpe:2.3:a:hibernate:hibernate-validator:*:*:*:*:*:*:*:*

References for CVE-2023-1932

cvelogic Threat Intelligence