JBoss Enterprise Application Platform
Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
CVE-2023-1932Published 7 Nov 2024, 10:00 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.1
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from 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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| JBoss Enterprise Application PlatformWidespread | not stated | — |
| KeycloakWidespread | not stated | — |
| Red Hat AMQ Broker 7Common | not stated | — |
| Red Hat Data Grid 8Common | not stated | — |
| Red Hat Fuse 7Common | not stated | — |
| Red Hat OpenStack Platform 16.2Common | not stated | — |
| Red Hat Process Automation 7Common | not stated | — |
| Red Hat Satellite 6Common | not stated | — |
| streams for Apache Kafka 3Common | not stated | — |
| A-MQ Clients 2Niche | not stated | — |
| Cryostat 3Niche | not stated | — |
| Red Hat A-MQ OnlineNiche | not stated | — |
| Red Hat BPM Suite 6Niche | not stated | — |
| Red Hat CodeReady Studio 12Niche | not stated | — |
| Red Hat Decision Manager 7Niche | not stated | — |
| Red Hat JBoss BRMS 5Niche | not stated | — |
| Red Hat JBoss Data Virtualization 6Niche | not stated | — |
| Red Hat JBoss Fuse 6Niche | not stated | — |
| Red Hat JBoss Operations Network 3Niche | not stated | — |
| Red Hat JBoss SOA Platform 5Niche | not stated | — |
| Red Hat support for Spring BootNiche | not stated | — |
| jboss_data_gridNiche | not stated | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 44), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.700
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 7 Nov 2024 Published
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-79
References
- https://access.redhat.com/security/cve/CVE-2023-1932redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=1809444issue-tracking, redhat
- CVE-2023-1932 on CVE.org