Cross-Site Scripting (XSS) in generator-jhipster
Summary
Cross-site scripting in generator-jhipster (CVE-2026-107303). Confidential information can be exposed externally. Mitigation: upgrade to 9.4.0 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2026-107303 has been found in generator-jhipster.
Confidential information can be exposed externally. CVSS score: 7.6/10.
What to do: upgrade generator-jhipster to 9.4.0 or later.
If unsure, ask your IT team or search "generator-jhipster CVE-2026-107303" on the vendor's site.
CVE-2026-107303 (generator-jhipster) — CWE-79 / CVSS v3 7.6
Attack vector: remote (network-reachable)
Patched: 9.4.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Cross-site scripting (XSS) (CWE-79) exists in generator-jhipster.
Check the vendor advisory for the affected versions of generator-jhipster.
Severity: High (CVSS 7.6/10). Confidential information can be exposed externally.
Update to 9.4.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'generator-jhipster' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'generator-jhipster' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
generator-jhipsterを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade generator-jhipster to 9.4.0ステージング環境で 9.4.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmgenerator-jhipster |
< 9.4.0→ 9.4.0 |
9.4.0 |
| npmreact-jhipster |
< 1.1.0→ 1.1.0 |
1.1.0 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com