CVE-2023-1932 MEDIUM

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

Vendor Red Hat
Product A-MQ Clients 2
Published November 7, 2024
Last update November 7, 2024

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

November 7, 2024 CVE published
November 7, 2024 Record updated