{"id":"CVE-2019-10219","published":"2019-11-08T14:46:03Z","modified":"2026-10-08T21:24:18Z","title":"A vulnerability was found in Hibernate-Validator","vendor":"Hibernate","product":"hibernate-validator","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02157,"percentile":0.82625,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://lists.apache.org/thread.html/r87b7e2d22982b4ca9f88f5f4f22a19b394d2662415b233582ed22ebf%40%3Cnotifications.accumulo.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4f8b4e2541be4234946e40d55859273a7eec0f4901e8080ce2406fe6%40%3Cnotifications.accumulo.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4f92d7f7682dcff92722fa947f9e6f8ba2227c5dc3e11ba09114897d%40%3Cnotifications.accumulo.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0164","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0159","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0160","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0161","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0445","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.apache.org/thread.html/rf9c17c3efc4a376a96e9e2777eee6acf0bec28e2200e4b35da62de4a%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd418deda6f0ebe658c2015f43a14d03acb8b8c2c093c5bf6b880cd7c%40%3Cpluto-dev.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rb8dca19a4e52b60dab0ab21e2ff9968d78f4b84e4033824db1dd24b4%40%3Cpluto-scm.portals.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/hibernate/hibernate-validator/commit/20d729548511ac5cff6fd459f93de137195420fe","tags":["patch"]},{"url":"https://github.com/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56cee","tags":["patch"]},{"url":"https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Adapted/CVE-2019-10219","tags":["exploit"]},{"url":"https://github.com/poc-effectiveness/PoCAdaptation/tree/main/Origin/CVE-2019-10219/exploit","tags":["exploit"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10219","tags":["x_refsource_CONFIRM"]},{"url":"https://security.netapp.com/advisory/ntap-20220210-0024/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56ceee","tags":[]}],"priority":{"score":26.1,"factors":[{"name":"EPSS percentile","points":16.53},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"hibernate","affectedVersions":[{"vendor":"Hibernate","product":"hibernate-validator","versions":[">= 6.0.0.Alpha1, <= 6.0.17.Final",">= 6.1.0.Alpha1, <= 6.1.0.Alpha6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T21:14:15.617759Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.hibernate.validator:hibernate-validator","vulnerableRanges":[">=6.1.0.Alpha1, <6.1.0.Alpha6",">=6.0.0.Alpha1, <6.0.18.Final"],"patched":["6.1.0.Alpha6","6.0.18.Final"],"from":["GHSA-m8p2-495h-ccmh"],"provenance":"source"},{"ecosystem":"Maven","package":"org.hibernate:hibernate-validator","vulnerableRanges":[">=6.1.0.Alpha1, <6.1.0.Alpha6",">=6.0.0.Alpha1, <6.0.18.Final"],"patched":["6.1.0.Alpha6","6.0.18.Final"],"from":["GHSA-m8p2-495h-ccmh"],"provenance":"source"}],"summary":{"text":"The flaw lies in the SafeHtml validator annotation of Hibernate-Validator, which fails to properly sanitize HTML comments and instructions that contain potentially malicious code. An attacker who can submit input to a field validated with this annotation, without authentication or user interaction and over the network, can inject a payload that results in cross-site scripting.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:56Z"},"euvd":{"id":"EUVD-2020-0269","exploited":false,"provenance":"source"},"exploitRefs":["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"],"lineage":{"packageHistory":[{"cve":"CVE-2014-3558","published":"2014-09-30","fixed":"5.1.2","kev":false},{"cve":"CVE-2017-7536","published":"2018-01-10","fixed":"5.4.2.Final","kev":false},{"cve":"CVE-2019-10219","published":"2019-11-08","fixed":"6.1.0.Alpha6","kev":false},{"cve":"CVE-2020-10693","published":"2020-05-06","fixed":"6.1.5.Final","kev":false,"link":{"from":"CVE-2019-10219","to":"CVE-2020-10693","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.hibernate:hibernate-validator","fromFixed":"6.0.18.Final","toFixed":"6.0.20.Final","daysApart":180},{"kind":"version-step","provenance":"source","package":"Maven:org.hibernate.validator:hibernate-validator","fromFixed":"6.0.18.Final","toFixed":"6.0.20.Final","daysApart":180}]}},{"cve":"CVE-2023-1932","published":"2024-11-07","fixed":"6.2.0.Final","kev":false},{"cve":"CVE-2025-35036","published":"2025-06-03","fixed":"7.0.0.CR1","kev":false}],"package":"Maven:org.hibernate:hibernate-validator"}}