CVE-2025-31119CWE-470

CWE-470 in generator-jhipster-entity-audit when having Javers selected as Entity Audit Framework

High · published April 3, 2025

CVSS v3.1
7.7
EPSS
1%
Percentile
44.4
In the wild
Unconfirmed
What it is

generator-jhipster-entity-audit is a JHipster module to enable entity audit and audit log page. Prior to 5.9.1, generator-jhipster-entity-audit allows unsafe reflection when having Javers selected as Entity Audit Framework. If an attacker manages to place some malicious classes into the classpath and also has access to these REST interface for calling the mentioned REST endpoints, using these lines of code can lead to unintended remote code execution. This vulnerability is fixed in 5.9.1.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00537 · 44.4th percentile
Weakness
CWE-470 · Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')
Published
2025-04-03T19:11Z
EPSS history
Timeline
  • 03 APR 19:11Z
    CWE-470 in generator-jhipster-entity-audit when having Javers selected as Entity Audit Framework
    cvelistv5