Skip to content

CVE-2026-107303 JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob

HighCVSS 7.6 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

4 packages: 2 fixed.

PackageAffectedFixed inStatus
npm generator-jhipster(npm) < 9.4.0 9.4.0 Fixed
npm react-jhipster(npm) < 1.1.0; <= 1.0.3 1.1.0 Fixed
jhipster generator-jhipster = < 9.4.0 No fix listed Versions listed
jhipster react-jhipster = < 1.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
jhipster generator-jhipster = < 9.4.0 No fix listed
jhipster react-jhipster = < 1.1.0 No fix listed
npm generator-jhipster(npm) < 9.4.0 9.4.0
npm react-jhipster(npm) <= 1.0.3 No fix listed
npm react-jhipster(npm) < 1.1.0 1.1.0

References