Security Resilience

CVE-2025-31119

Published
03 April 2025
Modified
15 April 2026
CVSS Score v3.1 7.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
EPSS Score 0.0054 46th percentile
Risk Priority 58 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-31119 is a high-severity Unsafe Reflection (CWE-470) vulnerability. Its CVSS base score is 7.6 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

generator-jhipster-entity-audit is a JHipster module that adds entity audit support and an audit log page. Prior to version 5.9.1, the module contains an unsafe reflection flaw when the Javers Entity Audit Framework is selected. The issue stems from code paths in JaversEntityAuditResource that accept attacker-controlled input to resolve and invoke classes, enabling remote code execution if malicious classes are present on the classpath.

An attacker must first place malicious classes on the classpath and then obtain access to the exposed REST endpoints. With those conditions met, crafted requests to the affected endpoints can trigger arbitrary class loading and method invocation, resulting in full remote code execution under the privileges of the application process.

The project security advisory GHSA-7rmp-3g9f-cvq8 and the accompanying patch release state that the vulnerability is fixed in generator-jhipster-entity-audit 5.9.1. Users are advised to upgrade immediately and to verify that only trusted classes reside on the application classpath.

EPSS for the CVE rose from a low baseline to a recorded peak of 0.0375, indicating that exploitation interest increased after public disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-13181Shared CWE-470
CVE-2026-63337Shared CWE-470
CVE-2026-57284Shared CWE-470
CVE-2026-82078Shared CWE-470
CVE-2026-24246Shared CWE-470
CVE-2026-101292Shared CWE-470
CVE-2026-119578Shared CWE-470
CVE-2026-82440Shared CWE-470
CVE-2026-32263Shared CWE-470
CVE-2025-12967Shared CWE-470

Affected Assets

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Input validation directly stops externally supplied class or method names from selecting improper code via reflection.

Enforces authorization checks on the code or classes ultimately invoked, blocking unauthorized selections even if reflection is used.

Limits privileges of any code reached through unsafe reflection, reducing blast radius without stopping the selection itself.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly avoid introducing externally controlled class selection via reflection.

ID.RA-01 partial match
blocks

Vulnerability identification processes can discover unsafe reflection during code review or scanning.

PR.PS-05 partial match
blocks

Preventing execution of unauthorized code can block exploitation of unsafe reflection at runtime.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect and block unsafe reflection patterns before release.

finds

A.5.21 governs supplier relationships and supply chain security requirements, not the technical discovery of unsafe reflection flaws in deployed code; it mandates no scanning, testing, or analysis process that would surface CWE-470 instances.

prevents

Training developers on secure coding practices (including reflection safety) reduces but does not eliminate unsafe reflection defects; the practice is fallible and the specific knowledge required is narrow, matching the A.6.3 -> CWE-598 and A.8.28 -> CWE-79 anchors.

prevents

Secure coding standards directly forbid unsafe reflection and require whitelisting or static alternatives.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, and unsafe reflection is a regular software CWE introduced at design/implementation that those practices would address; the clause has a declared ceiling of `partial` on this verb, and the effect is real but a minority one because it depends on the supplier faithfully implementing secure coding.

finds

A.8.8's reach is DISCLOSURE — it surfaces only vulnerabilities published as advisories in third-party components. Unsafe reflection is a first-party code defect that requires source or runtime analysis to find, and A.8.8 sees only the minority of instances that surface as CVEs in third-party libraries (e.g., CVE-2018-1000613, CVE-2004-2331), not the bulk in first-party code.

References