Read the docs
TI-2022-08628 Aliases CVE-2022-24815GHSA-qjmq-8hjr-qcv6

SQL Injection when creating an application with Reactive SQL backend

Priority HIGH 70CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

JHipster is a development platform to quickly generate, develop, & deploy modern web applications & microservice architectures. SQL Injection vulnerability in entities for applications generated with the option "reactive with Spring WebFlux" enabled and an SQL database using r2dbc. Applications created without "reactive with Spring WebFlux" and applications with NoSQL databases are not affected. Users who have generated a microservice Gateway using the affected version may be impacted as Gateways are reactive by default. Currently, SQL injection is possible in the findAllBy(Pageable pageable, Criteria criteria) method of an entity repository class generated in these applications as the where clause using Criteria for queries are not sanitized and user input is passed on as it is by the criteria. This issue has been patched in v7.8.1. Users unable to upgrade should be careful when combining criterias and conditions as the root of the issue lies in the `EntityManager.java` class when creating the where clause via `Conditions.just(criteria.toString())`. `just` accepts the literal string provided. Criteria's `toString` method returns a plain string and this combination is vulnerable to sql injection as the string is not sanitized and will contain whatever used passed as input using any plain SQL.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01377 72nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed generator-jhipster (jhipster): 7.8.1generator-jhipster (npm): 7.8.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
jhipstergenerator-jhipster7.0.0 to before 7.8.17.8.1Patch availableCNA
—generator-jhipster (npm)7.0.0 to before 7.8.17.8.1Patch availableGHSA-qjmq-8hjr-qcv6
  • generator-jhipster Vendorjhipster Affected 7.0.0 to before 7.8.1 Fixed in 7.8.1 Patch available CNA
  • generator-jhipster (npm) Vendor— Affected 7.0.0 to before 7.8.1 Fixed in 7.8.1 Patch available GHSA-qjmq-8hjr-qcv6

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:jhipster:generator-jhipster:*:*:*:*:*:node.js:*:*7.0.0 to before 7.8.1Vulnerablejhipster
  • cpe:2.3:a:jhipster:generator-jhipster:*:*:*:*:*:node.js:*:* Versions 7.0.0 to before 7.8.1 Vulnerable ·jhipster

Remediation

  • Fix · CNA generator-jhipster (jhipster) Fixed in 7.8.1
  • Fix · GHSA-qjmq-8hjr-qcv6 generator-jhipster (npm) Fixed in 7.8.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24815
  2. 2026-10-03 Alias added: GHSA-qjmq-8hjr-qcv6

References

Sources