Skip to main content

JaVers javers-persistence-sql CVE-2026-145563

| EUVDEUVD-2026-145715 HIGH
SQL Injection (CWE-89)
2026-12-05 VulnCheck GHSA-mpmg-2h6w-8787
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Find app forwarding input to withChangedProperty
  2. Exploit
    Craft single-quote SQL payload string
  3. Execution
    Break out of unescaped LIKE literal in SnapshotQuery
  4. Impact
    Dump full audit history and read other tables via subqueries

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the application passes an attacker-influenced value into QueryBuilder.withChangedProperty() or withChangedPropertyIn() - the reporter notes the lilium-framework integration does this directly from a request DTO. The payload must contain a single quote to break out of the changed_properties LIKE '%...%' literal. Affected versions are javers-persistence-sql 5.13.0 through 7.13.0 (fixed in 7.13.1). The key LIMITING factor is reachability: applications that only pass trusted/hardcoded property names to these two methods are not exploitable, and the path is confidentiality-only (read of audit history), with no demonstrated write capability. No end-user interaction or authentication is required by the vulnerable code path itself.

Impact

This is a genuine, well-substantiated SQL injection (CWE-89) confirmed by the vendor's GHSA-w3gf-93p4-vvhx advisory and the fix commit (fac5c8f), which shows the one JQL filter path that splices the caller's string directly into a changed_properties LIKE '%...%' literal instead of binding a ? parameter like every sibling filter. Its real-world priority is conditional: the flaw is only reachable when the application forwards attacker-controllable input into withChangedProperty()/withChangedPropertyIn() (the reporter cites the lilium-framework integration doing exactly this from a request DTO), so applications that only pass hardcoded property names are not exposed. The assigned CVSS 4.0 vector (AV:N/AC:H/AT:P, score 8.2) signals high complexity and a special attack requirement, yet the advisory's PoC demonstrates a single crafted string in one call with deterministic results - so the AC:H/AT:P rating appears inconsistent with the demonstrated trigger and likely overstates difficulty; verify with the assigner. KEV status is not listed (no confirmed active exploitation) and no EPSS score was provided, so exploitation-probability signals are absent; the vuln.today decision label is 'this_week', indicating prompt remediation rather than emergency. Impact is a confidentiality break of the audit trail only - the reporter explicitly did not demonstrate any write/alter/delete primitive - so integrity and availability are unaffected.

Exploit ScenarioDerived

An application forwards a user-controlled value (e.g. a request DTO field, as in the lilium-framework integration) into JaVers' withChangedProperty() filter. A remote attacker supplies the string "zzz' OR changed_properties LIKE '%", breaking out of the unescaped LIKE literal so the generated predicate (... LIKE '%zzz' OR changed_properties LIKE '%%') matches every row, returning the complete audit history for the class regardless of the intended filter. A working PoC demonstrating this against H2 2.2.224 is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 05, 2026

SQL injection in JaVers javers-persistence-sql 5.13.0 through 7.13.0 lets an attacker who can influence property names passed to withChangedProperty() or withChangedPropertyIn() break out of the unescaped changed_properties LIKE literal and read the complete audit history for the targeted class, with subqueries potentially exposing other tables. The path is confidentiality-only - no write capability was demonstrated - and is limited to applications that forward attacker-controlled values into those JQL filter methods, such as the noted lilium-framework integration. A proof-of-concept is described in the GHSA advisory; no CISA KEV entry or confirmed active exploitation is reported, and remediation to 7.13.1 is available.

RemediationAI

Upgrade javers-persistence-sql to 7.13.1 or later; the fixed release is tagged v7.13.1 and the fix is commit fac5c8f / PR #1517 (GHSA-w3gf-93p4-vvhx). Until upgraded, validate every value passed to QueryBuilder.withChangedProperty() and withChangedPropertyIn() against a strict allow-list such as [A-Za-z0-9_$.]+ before it reaches JQL, and avoid forwarding request-DTO values directly as the lilium-framework integration does; the trade-off is that legitimate property names containing other characters will be rejected and must be mapped explicitly. There is no documented vendor workaround beyond input validation, and the defect is read-only, so no data-integrity or availability mitigation is required. Prioritize this upgrade this week per the vuln.today decision label.

Affected VersionsENISA

javers-persistence-sql 5.13.0 <7.13.1

Affected Packages

euvd javers_persistence_sql fix: 7.13.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JaVers is an audit and versioning library; javers-persistence-sql builds JQL snapshot queries against a relational store. In SnapshotQuery.applyQueryParams(), the withChangedProperty() and withChangedPropertyIn() filters were the only ones that concatenated caller-supplied strings directly into the SQL text - specifically into a changed_properties LIKE '%...%' clause - instead of using a ? bind parameter, so a single quote in a property name breaks the literal and permits SQL injection (CWE-89). The fix commit fac5c8f and PR #1517 replace concatenation with parameter binding. The CPE identifies org.javers:javers-persistence-sql as the affected artifact; the advisory's H2 proof-of-concept returned all snapshots for a class even when the stated filter value never appeared. Assessed impact is C:H/I:N/A:N under CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U; the vendor's CVSS 4.0 vector is 8.2 with AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N, and both agree the path is read-only for confidentiality.

Know when Javers Persistence Sql gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Advisory PoC shows a single crafted string in one unauthenticated request deterministically dumping the audit trail, so AC:L/PR:N with confidentiality-only impact (C:H, I/A:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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 changed_properties LIKE literal in SnapshotQuery.applyQueryParams() to dump full audit history and read other tables via subqueries.

Technical POC Analysis

CWE-89 (SQL injection / improper neutralization of special elements in SQL).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity SQL injection vulnerability in JaVers' SQL persistence module (versions 5.13.0-7.13.0) could allow an attacker to read sensitive audit history data. Organizations using affected versions with user-influenced filter values, particularly in the lilium-framework integration, face potential confidentiality breaches. Leadership should prioritize remediation to protect audit trail integrity and prevent unauthorized data access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Medium
JaVers is a moderately adopted Java auditing library; SQL persistence module only
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy