{"id":"CVE-2026-107303","summary":"JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob","details":"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.","aliases":["GHSA-9ffp-22j7-56r2"],"modified":"2026-10-11T02:30:42.906440245Z","published":"2026-10-08T17:23:04.706Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107303.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/jhipster/generator-jhipster/releases/tag/v9.4.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107303.json"},{"type":"ADVISORY","url":"https://github.com/jhipster/generator-jhipster/security/advisories/GHSA-9ffp-22j7-56r2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-107303"},{"type":"FIX","url":"https://github.com/jhipster/generator-jhipster/commit/efe95edd4dedc3379735094936439410a51ce3d9"},{"type":"FIX","url":"https://github.com/jhipster/generator-jhipster/pull/34807"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jhipster/generator-jhipster","events":[{"introduced":"0"},{"fixed":"8ac33d1eaaf0d2b46cb1dd0a55c7596323edf0ce"},{"fixed":"1feea22d43fef5799ffdb50299d70ebf88b2bfea"},{"fixed":"efe95edd4dedc3379735094936439410a51ce3d9"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"9.4.0"},{"fixed":"1.1.0"}]}}],"versions":["v1.0.0","v0.18.1","v0.18.0","v0.17.2","v0.17.1","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.11.0","v0.10.1","v0.10.0","v0.9.3","v0.9.2","v0.9.1","v0.9.0","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.1","v0.7.0","v0.6.2","v0.6.1","v0.6.0","v0.5.2","v0.5.1","v0.5.0","v0.4.0","v0.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-107303.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"}]}