CVE-2026-107303: JHipster Applications Vulnerable to Stored XSS via Unrestricted Blob ContentType

generator-jhipster Updated 09 Oct 2026

Summary

08/10/2026
Yes i
High
7.6

CVE-2026-107303: Applications generated by generator-jhipster v9.2.0 can persist user-controlled Blob ContentType values and later use those values as the MIME type for client-side Blob objects. Affects generator-jhipster versions < 9.4.0. Fixed in 9.4.0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

JHipster is a development platform to generate, develop, and deploy Spring Boot + Angular/React/Vue web applications and Spring microservices. It provides a robust framework for building modern web applications with a focus on best practices and productivity. However, applications generated by JHipster version 9.2.0 have a vulnerability that allows for stored cross-site scripting (XSS) attacks due to improper handling of Blob ContentType values.

Vulnerability Detail

The vulnerability arises from a trust-boundary failure between the server and client code in applications generated by generator-jhipster v9.2.0. The generated REST API allows authenticated users to upload Blob data along with a ContentType that is not validated. This can lead to an attacker storing malicious content that can be executed when a privileged user accesses it. The generated code does not restrict MIME types or validate the content type against the uploaded data, allowing active HTML or SVG content to be opened as a document, which can lead to theft of sensitive information and unauthorized actions.

How To Fix

Minimum fixed version

9.4.0

This is the first release that contains the fix.

npm install generator-jhipster@9.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement strict Content Security Policy (CSP) headers to mitigate the risk of XSS attacks. Additionally, consider implementing server-side validation for the Blob ContentType to restrict it to safe MIME types.

Conclusion

The vulnerability identified as CVE-2026-107303 in JHipster applications poses a significant risk due to improper handling of Blob ContentType values. It is crucial for developers to update their packages to the latest versions to mitigate this risk and ensure the security of their applications.

See every vulnerability recorded for generator-jhipster →

Share this vulnerability

FAQ

The vulnerability allows an attacker to store malicious content that can be executed by a privileged user, potentially leading to data theft and unauthorized actions.

You can use Vulert to monitor your application for this vulnerability. Simply upload your package-lock.json file to Vulert's playground at Vulert Scanner.

The CVSS score for this vulnerability is 7.6, indicating a high severity level.

Yes, implementing a strict Content Security Policy (CSP) and validating Blob ContentType on the server can help mitigate the risk.

If immediate updates are not possible, ensure that your application has strict CSP in place and monitor for any suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for generator-jhipster.

How To Fix

Minimum fixed version

9.4.0

This is the first release that contains the fix.

npm install generator-jhipster@9.4.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback