p PatchFirst

CVE-2026-107303

CVE-2026-107303 · JHipster: Generated Applications Allow Stored XSS via Unrestricted Blob ContentType Opened as Same-Origin Blob

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 7.6 · Élevée · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • generator-jhipster

    Versions du logiciel
    • < 9.4.0: Concernée

    Aucun correctif publié

  • react-jhipster

    Versions du logiciel
    • < 1.1.0: Concernée

    Aucun correctif publié

  • generator-jhipster npm

    Plages de versions concernées
    • SEMVER: < 9.4.0

    Mettez à jour vers 9.4.0

  • react-jhipster npm

    Plages de versions concernées
    • SEMVER: < 1.1.0

    Mettez à jour vers 1.1.0

Sources originales

Vérifiez votre serveur →