CVE-2025-31119

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-31119
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-31119.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-31119
Aliases
Published
2025-04-03T19:11:44.091Z
Modified
2025-12-02T08:12:53.711161Z
Severity
  • 7.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
CWE-470 in generator-jhipster-entity-audit when having Javers selected as Entity Audit Framework
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-470"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31119.json"
}
References

Affected packages

Git / github.com/jhipster/generator-jhipster-entity-audit

Affected ranges

Type
GIT
Repo
https://github.com/jhipster/generator-jhipster-entity-audit
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "5.9.1"
        }
    ]
}

Affected versions

0.*

0.1.0
0.1.1
0.1.10
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6

2.*

2.5.0
2.5.1
2.6.0
2.6.1

3.*

3.0.0

v1.*

v1.0.7

v2.*

v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.1.0
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.4.0
v2.4.1
v2.6.0

v3.*

v3.1.0
v3.1.1
v3.2.0
v3.3.0

v4.*

v4.0.0

v5.*

v5.0.0
v5.0.0-beta.1
v5.0.0-rc.1
v5.1.0
v5.2.0
v5.3.0
v5.4.0
v5.5.0
v5.6.0
v5.7.0
v5.8.0
v5.8.1
v5.9.0