GHSA-m8p2-495h-ccmh

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

At a glance

Published
Updated
CVE
CVE-2019-10219
CVSS_V3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Description

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

PackageVersions
Maven · org.hibernate.validator:hibernate-validatorintroduced 6.1.0.Alpha1, fixed 6.1.0.Alpha6
Maven · org.hibernate.validator:hibernate-validatorintroduced 6.0.0.Alpha1, fixed 6.0.18.Final
Maven · org.hibernate:hibernate-validatorintroduced 6.1.0.Alpha1, fixed 6.1.0.Alpha6
Maven · org.hibernate:hibernate-validatorintroduced 6.0.0.Alpha1, fixed 6.0.18.Final

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database