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.
Published: 2026-10-08
Score: 7.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored XSS via same‑origin Blob content
Action: Patch
AI Analysis

Impact

The vulnerability occurs in JHipster generator code that produces applications capable of storing arbitrary Blob data with a user‑specified ContentType. When the generated openFile helper builds a Blob URL, it uses the stored ContentType as the MIME type, allowing injected HTML or SVG to execute in the browser under the application’s origin. This leads to stored cross‑site scripting that can disclose or hijack authenticated session data and other credentials, matching CWE‑79.

Affected Systems

Affected builds are those produced with generator‑jhipster versions earlier than 9.4.0 and react‑jhipster versions earlier than 1.1.0. Users who employ these versions to generate JHipster projects may have exposed endpoints that return the user‑controlled Blob data and ContentType, enabling the attack.

Risk and Exploitability

The CVSS score of 7.6 indicates high severity, and while an EPSS score is not available, the vulnerability is not currently listed in CISA KEV. Exploitation requires an authenticated user with write access to a Blob‑bearing entity, and the impact depends on the application’s content‑security policy and browser Blob handling. Because the flaw allows arbitrary HTML or SVG to run in the application’s origin, any privileged user who opens the stored file can suffer credential theft or other malicious actions. The attack vector is application‑level and only available to users with write permission on the affected entity.

Generated by OpenCVE AI on October 8, 2026 at 18:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade generator‑jhipster to version 9.4.0 or later and react‑jhipster to version 1.1.0 or later.
  • Regenerate or rebuild existing applications to incorporate the fixed openFile helper.
  • Audit existing Blob endpoints to ensure they do not return user‑controlled ContentType; consider enforcing a whitelist of safe MIME types if the upgrade is not immediately possible.
  • As an additional safeguard, implement or strengthen a Content‑Security‑Policy that blocks execution of inline SVG or disallows scripts from blob URLs.

Generated by OpenCVE AI on October 8, 2026 at 18:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9ffp-22j7-56r2 JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob
History

Fri, 09 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 09 Oct 2026 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Jhipster
Jhipster generator-jhipster
Jhipster react-jhipster
Vendors & Products Jhipster
Jhipster generator-jhipster
Jhipster react-jhipster

Thu, 08 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}


Subscriptions

Jhipster Generator-jhipster React-jhipster
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T11:41:09.192Z

Reserved: 2026-10-07T15:53:23.587Z

Link: CVE-2026-107303

cve-icon Vulnrichment

Updated: 2026-10-09T11:40:59.771Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-10-08T18:17:19.277

Modified: 2026-10-09T12:17:07.987

Link: CVE-2026-107303

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-09T08:04:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')