hibernate/hibernate-validator · Security

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

GHSA ID
GHSA-m8p2-495h-ccmh
CVE ID
CVE-2019-10219
Severity
medium
Published
Updated
CVSS
6.5 · CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v3
6.5 · 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.

CWEs

References