ADVISORIES

GitHub Advisory Database

GHSA-m8p2-495h-ccmh

The SafeHtml annotation in Hibernate-Validator does not properly guard against XSS attacks

Moderate CVE-2019-10219

Details

A vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially malicious code in HTML comments and instructions. This vulnerability can result in an XSS attack.

Affected packages

EcosystemPackageAffected versions
Mavenorg.hibernate.validator:hibernate-validator
From 6.1.0.Alpha1 before 6.1.0.Alpha6 (fixed in 6.1.0.Alpha6)
Mavenorg.hibernate.validator:hibernate-validator
From 6.0.0.Alpha1 before 6.0.18.Final (fixed in 6.0.18.Final)
Mavenorg.hibernate:hibernate-validator
From 6.1.0.Alpha1 before 6.1.0.Alpha6 (fixed in 6.1.0.Alpha6)
Mavenorg.hibernate:hibernate-validator
From 6.0.0.Alpha1 before 6.0.18.Final (fixed in 6.0.18.Final)

References