Skip to content

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?

ProductAffected versions (from the sources)Fixed in
JBoss Enterprise Application PlatformWidespreadnot stated—
KeycloakWidespreadnot stated—
Red Hat AMQ Broker 7Commonnot stated—
Red Hat Data Grid 8Commonnot stated—
Red Hat Fuse 7Commonnot stated—
Red Hat OpenStack Platform 16.2Commonnot stated—
Red Hat Process Automation 7Commonnot stated—
Red Hat Satellite 6Commonnot stated—
streams for Apache Kafka 3Commonnot stated—
A-MQ Clients 2Nichenot stated—
Cryostat 3Nichenot stated—
Red Hat A-MQ OnlineNichenot stated—
Red Hat BPM Suite 6Nichenot stated—
Red Hat CodeReady Studio 12Nichenot stated—
Red Hat Decision Manager 7Nichenot stated—
Red Hat JBoss BRMS 5Nichenot stated—
Red Hat JBoss Data Virtualization 6Nichenot stated—
Red Hat JBoss Fuse 6Nichenot stated—
Red Hat JBoss Operations Network 3Nichenot stated—
Red Hat JBoss SOA Platform 5Nichenot stated—
Red Hat support for Spring BootNichenot stated—
jboss_data_gridNichenot stated—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.700
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.7 × threat 0.851.785
  4. Rounded to one decimal between 0.1 and 101.8

How the score works

Exploitation and evidence timeline

  1. 7 Nov 2024 Published
  2. 3 Dec 2026 Risk 1.8 (cvss fallback)

Weakness

CWE-79

References

Get alerts for JBoss Enterprise Application Platform

Free email or text alerts when a vulnerability in JBoss Enterprise Application Platform reaches risk 8 or higher. Nothing else.