JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob
Affects jhipsterSource GCVE Database
Not known to be exploited · CVSS 7.6 High : upgrade to 9.4.0 soon.
Data as of 6 Dec 2026, 20:27 UTC
- Patch
- Available – fixed in 9.4.0, 1.1.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 8 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Upgrade jhipster and generator-jhipster to 9.4.0; react-jhipster to 1.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewjhipsterpkg:brew/jhipsterOther threats | Affected
| Fixed in
|
npmgenerator-jhipsterpkg:npm/generator-jhipsterOther threats | Affected
| Fixed in
|
npmreact-jhipsterpkg:npm/react-jhipsterOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in generator-jhipster version 9.4.0. Users should upgrade to this version or later to remediate the vulnerability. Until patched, restricting entity write permissions, applying strict CSP policies that disallow script execution in Blob documents, and validating or sanitizing Blob ContentType values before storage and use may reduce risk. However, the primary remediation is to upgrade to the fixed version.
Description
Applications generated by generator-jhipster versions from 4.5.2 up to but not including 9.4.0 allow stored cross-site scripting (XSS) via user-controlled Blob ContentType values. Authenticated users can store active content with arbitrary MIME types through the generated REST API. When privileged users open these Blob objects in the generated UI, the content is opened as a same-origin document, potentially enabling script execution depending on Content Security Policy (CSP) and browser behavior. This can lead to stored XSS, theft of JWT/localStorage/sessionStorage tokens, sensitive API data exposure, and privileged actions under the victim's session. A fix is available in version 9.4.0.
References
- github.com/jhipster/generator-jhipster/security/advisories/GHSA-9ffp-22j7-56r2 (opens in a new tab)
- github.com/jhipster/generator-jhipster/pull/34807 (opens in a new tab)
- github.com/jhipster/generator-jhipster/commit/efe95edd4dedc3379735094936439410a51ce3d9 (opens in a new tab)
- github.com/jhipster/generator-jhipster (opens in a new tab)
- github.com/jhipster/generator-jhipster/releases/tag/v9.4.0 (opens in a new tab)