CVE-2025-31119

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

State
Published
Severity
7.7 High
Published
Apr 3, 2025
Updated
Apr 3, 2025
Reserved
Mar 26, 2025

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.7 HighCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-470 Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

Affected Products

ProductVersions
generator-jhipster-entity-auditjhipster
  • < 5.9.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.