CVE-2026-145563: JaVers javers-persistence-sql 5.13.0 before 7.13.1 SQL Injection via withChangedProperty()
JaVers javers-persistence-sql 5.13.0 before 7.13.1 contains an sql injection vulnerability that allows attackers to inject SQL by supplying property names to withChangedProperty() or withChangedPropertyIn(). Attackers can break out of the unescaped changedproperties LIKE literal in SnapshotQuery.applyQueryParams() to dump full audit history and read other tables via subqueries.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this vulnerability?
Applications using the Maven artifact org.javers:javers-persistence-sql in versions from 5.13.0 before 7.13.1 are affected if untrusted input can be supplied as a property name to withChangedProperty() or withChangedPropertyIn().
What does an attacker need to exploit it?
The attacker must be able to control a property-name value passed to withChangedProperty() or withChangedPropertyIn(). No authentication or user interaction is required according to the provided CVSS vector, but exploitation has high attack complexity.
What data could be exposed?
An attacker can break out of the unescaped changed_properties LIKE literal, potentially dump the full audit history, and read other database tables through subqueries.
What versions should be remediated?
Upgrade javers-persistence-sql to version 7.13.1 or later. Versions 5.13.0 through versions before 7.13.1 are identified as affected.