{"answers":{"affected":"4 open source packages ship an affected version, including generator-jhipster and react-jhipster.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107303 exists.","fix":"Upgrade generator-jhipster to 9.4.0 or later.","what":"CVE-2026-107303 is a high-severity cross-site scripting vulnerability in generator-jhipster, published on 8 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-107303 and fix it if it is affected.\n\nWhat it is: CVE-2026-107303 is a high-severity cross-site scripting vulnerability in generator-jhipster, published on 8 Oct 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-107303 exists.\n\nAffected packages and fixed versions:\n- generator-jhipster (npm): affected all versions; fixed in 9.4.0\n- generator-jhipster (npm): affected all versions; fixed in 9.4.0\n- react-jhipster (npm): affected all versions; fixed in 1.1.0\n- react-jhipster (npm): affected all versions; fixed in 1.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-107303/ (Markdown: https://insights.sbomify.com/CVE-2026-107303/index.md)","id":"CVE-2026-107303","markdown":"https://insights.sbomify.com/CVE-2026-107303/index.md","name":"CVE-2026-107303","record":{"aliases":["GHSA-9ffp-22j7-56r2"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"JHipster code generator","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into JHipster-generated apps via stored blobs, leading to code execution when viewed by other users.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob","id":"CVE-2026-107303","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":4,"n_references":4,"next":{"headline":"Adobe Experience Manager | Cross-site Scripting (Stored XSS) (CWE-79)","id":"CVE-2026-107305"},"packages":[{"ecosystem":"npm","fixed":["9.4.0"],"introduced":["0"],"last_affected":[],"package":"generator-jhipster","purl":null,"source":"GHSA-9ffp-22j7-56r2"},{"ecosystem":"npm","fixed":["9.4.0"],"introduced":["0"],"last_affected":[],"package":"generator-jhipster","purl":"pkg:npm/generator-jhipster","source":"GHSA-9ffp-22j7-56r2"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"react-jhipster","purl":null,"source":"GHSA-9ffp-22j7-56r2"},{"ecosystem":"npm","fixed":["1.1.0"],"introduced":["0"],"last_affected":[],"package":"react-jhipster","purl":"pkg:npm/react-jhipster","source":"GHSA-9ffp-22j7-56r2"}],"prev":{"headline":"msgpack5: Truncated map32 headers throw an unexpected error","id":"CVE-2026-107302"},"products":["generator-jhipster","react-jhipster"],"published":"2026-10-08","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-09","vendors":["jhipster"]},"summary":"Attackers can inject malicious scripts into JHipster-generated apps via stored blobs, leading to code execution when viewed by other users.","url":"https://insights.sbomify.com/CVE-2026-107303/"}