JHipster Fixes SQL Injection in Reactive Apps Generated via R2DBC
A high-severity SQL injection flaw in JHipster-generated reactive applications allows authenticated users to execute arbitrary SQL commands against the database.

Key points
- CVE-2026-107375 affects JHipster versions 7.0.0 through 9.2.0, rated CVSS 8.8 (High).
- The vulnerability exists in reactive applications using Spring WebFlux and Spring Data R2DBC with SQL databases.
- JHipster released version 9.4.0 to patch the issue, which validates sort parameters in generated code.
JHipster has released version 9.4.0 to address a high-severity SQL injection vulnerability in applications generated by its development platform. The flaw, tracked as CVE-2026-107375, allows authenticated users to execute arbitrary SQL commands in reactive applications that utilize Spring WebFlux and Spring Data R2DBC with SQL backends.
At a glance
- CVE
- CVE-2026-107375
- Product
- generator-jhipster
- CVSS
- 8.8 High
- Weakness
- SQL injection
- Exploited
- No known exploitation
The vulnerability stems from how the `generator-jhipster` npm package constructs database queries for paginated entity-list endpoints. According to the National Vulnerability Database (NVD) and GitHub advisory GHSA-r223-96jv-q533, the generated code passes the attacker-controlled `sort` request parameter directly into the `createOrderByFields` method within the `EntityManager_reactive.java.ejs` template. This process renders the input into the SQL `ORDER BY` clause without validation or quoting. Because the generated queries lack bound parameters, R2DBC drivers execute them via the simple query protocol, which permits the execution of additional statements separated by semicolons.
Context and Background
The issue was reported on August 29, 2026, and affects JHipster generator versions from 7.0.0 up to, but not including, 9.4.0. The NVD assigns the vulnerability a CVSS score of 8.8, classifying it as High severity. The root cause is identified as CWE-89, or SQL Injection.
Researchers noted that the flaw allows a normal authenticated user to read sensitive tables, modify or delete data, or drop tables entirely. The advisory states that the issue was independently reproduced end-to-end on both the default development database (H2) and the default production database (PostgreSQL 16). An attacker with a low-privileged account, including one obtained through the default self-registration flow, can exploit this to access critical data such as password hashes stored in the `jhi_user` table.
Who Is Affected
The vulnerability specifically impacts reactive applications generated by JHipster that use Spring WebFlux, Spring Data R2DBC, and a SQL database. Non-reactive JPA applications are not affected because Spring Data JPA validates sort property names against the entity metamodel. Similarly, NoSQL backends are outside the scope of this root cause, as the injection vector relies on SQL-specific query construction and execution protocols.
The affected component is the `generator-jhipster` npm package. Organizations using JHipster to generate modern web applications and microservice architectures must verify their generator version. Any project generated with versions 7.0.0 through 9.2.0 contains the vulnerable code template.
What should you do?
JHipster has released version 9.4.0, which fixes the issue by adding validation to the sort parameters in the generated code. Users of the `generator-jhipster` npm package should update to version 9.4.0 or later. Existing applications generated with vulnerable versions may require regeneration or manual code review to ensure the `sort` parameter is properly validated and quoted in the `ORDER BY` clause.
What to do and how to stay safe: JHipster
- Patch scores alone ignore context like network exposure and asset criticality.
- You must map vulnerabilities to specific business risks to prioritize correctly.
- Continuous exposure data replaces static scanning for accurate prioritization.
Prioritize vulnerabilities by actual exploitability and business impact, not by theoretical severity scores. Update your asset context and exposure data continuously to maintain accurate risk rankings.
Step-by-step guide: Risk Based Vulnerability Management: Prioritize Fixes by Actual Threat
General security guidance from the Threat Times newsroom. It is not confirmed advice from the organisations named in this story.
Frequently asked questions
Does this vulnerability affect JPA applications generated by JHipster?
No, non-reactive JPA applications are not affected because Spring Data JPA validates sort property names against the entity metamodel.
What is the CVSS score for CVE-2026-107375?
The NVD rates the vulnerability as High with a CVSS score of 8.8.
Which JHipster versions are vulnerable to this SQL injection?
Versions 7.0.0 through 9.2.0 of the generator-jhipster npm package are vulnerable.


