Vulnerability · Published Oct 8, 2026 · Assigned by GitHub_M
CVE-2026-107303JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob
High 7.6
In plain English
A high-severity cross-site scripting in generator-jhipster from jhipster. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
JHipster is a development platform to quickly generate, develop, and deploy modern web applications and microservice architectures. Prior to generator-jhipster 9.4.0 and react-jhipster 1.1.0, generated applications can persist attacker-controlled Blob data and companion ContentType values, return them through generated REST endpoints, and pass them to the generated openFile helper in generators/client/generators/common/templates/src/main/webapp/app/shared/jhipster/data-utils.ts.ejs. The helper uses the returned ContentType as the browser Blob MIME type and opens an object URL, so a normal authenticated user with write access to a Blob-bearing entity can store active HTML or SVG content that may execute under the application origin when a privileged user opens it. Exploitability depends on the generated application's content security policy and target-browser Blob behavior. This issue is fixed in generator-jhipster 9.4.0 and react-jhipster 1.1.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | generator-jhipster | 9.4.0 | GHSA-9ffp-22j7-56r2 |
| npm | react-jhipster | 1.1.0 | GHSA-9ffp-22j7-56r2 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| jhipster | generator-jhipster | < 9.4.0 |
| jhipster | react-jhipster | < 1.1.0 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-9ffp-22j7-56r2 x_refsource_CONFIRM
- https://github.com/jhipster/generator-jhipster/pull/34807 x_refsource_MISC
- https://github.com/jhipster/generator-jhipster/commit/efe95edd4dedc3379735094936439410a51ce3d9 x_refsource_MISC
- https://github.com/jhipster/generator-jhipster/releases/tag/v9.4.0 x_refsource_MISC