Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. generator-jhipster-entity-audit
  4. ›
  5. CVE-2025-31119

CVE-2025-31119: generator-jhipster-entity-audit vulnerable to Unsafe Reflection when having Javers selected as Entity Audit Framework

April 4, 2025

CWE-470 (Use of Externally-Controlled Input to Select Classes or Code (‘Unsafe Reflection’) when having Javers selected as Entity Audit Framework

References

  • github.com/advisories/GHSA-7rmp-3g9f-cvq8
  • github.com/jhipster/generator-jhipster-entity-audit
  • github.com/jhipster/generator-jhipster-entity-audit/blob/e21e83135d10c77d92203c89cb0b0063914e8fe0/generators/spring-boot-javers/templates/src/main/java/_package_/web/rest/JaversEntityAuditResource.java.ejs
  • github.com/jhipster/generator-jhipster-entity-audit/security/advisories/GHSA-7rmp-3g9f-cvq8
  • nvd.nist.gov/vuln/detail/CVE-2025-31119

Code Behaviors & Features

Detect and mitigate CVE-2025-31119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.9.1

Fixed versions

  • 5.9.1

Solution

Upgrade to version 5.9.1 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/generator-jhipster-entity-audit/CVE-2025-31119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:17 +0000.