Spring Batch Admin vulnerable to Stored Cross-site scripting (XSS) in the file upload functionalityGHSA-49mj-77q5-qw5g
MEDIUMGHSA-49mj-77q5-qw5g is a medium-severity (CVSS 5.4) Cross-site Scripting (XSS) vulnerability in org.springframework.batch:spring-batch-admin-manager. A fix is available for org.springframework.batch:spring-batch-admin-manager — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.springframework.batch:spring-batch-admin-managerReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Stored Cross-site scripting (XSS) vulnerability in Spring Batch Admin before 1.3.0 allows remote authenticated users to inject arbitrary JavaScript or HTML via the file upload functionality.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.springframework.batch:spring-batch-admin-manager | all versions | 1.3.0.RELEASEorg.springframework.batch:spring-batch-admin-manager:1.3.0.RELEASE |
Affected Products
spring batch adminspring_batch_admin_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.springframework.batch:spring-batch-admin-manager, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.springframework.batch:spring-batch-admin-manager to 1.3.0.RELEASE or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-49mj-77q5-qw5g is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-49mj-77q5-qw5g in your dependencies?
Find it across Maven, including transitive dependencies.