# CVE-2017-12882: Spring Batch Admin vulnerable to Stored Cross-site scripting (XSS) in the file upload functionality

Source: https://junglewise.ai/threats/cve-2017-12882-spring-batch-admin-vulnerable-to-stored-cross-site-scripting-xss  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2017-12882 · Severity: low · CVSS 3 · Published 2022-05-17

Spring Batch Admin vulnerable to Stored Cross-site scripting (XSS) in the file upload functionality

Technologies: [org.springframework.batch:spring-batch-admin-manager (Maven)](https://junglewise.ai/threats/technologies/org-springframework-batch-spring-batch-admin-manager). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2017-12882 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-12882 being exploited in the wild.

**How severe is CVE-2017-12882?** Low severity, with a CVSS score of 3, published 17 May 2022.

**Which products and versions are affected?** org.springframework.batch:spring-batch-admin-manager (Maven) ECOSYSTEM:introduced=0,fixed=1.3.0.RELEASE.

**Is there a fix for CVE-2017-12882?** Yes. org.springframework.batch:spring-batch-admin-manager (Maven): upgrade to 1.3.0.RELEASE or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-12882?** Check whether you run org.springframework.batch:spring-batch-admin-manager (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.springframework.batch:spring-batch-admin-manager (Maven): upgrade to 1.3.0.RELEASE or later

  ```sh
  # set org.springframework.batch:spring-batch-admin-manager to 1.3.0.RELEASE in your pom.xml or build.gradle
  ```


## Affected products

- org.springframework.batch:spring-batch-admin-manager (Maven) ECOSYSTEM:introduced=0,fixed=1.3.0.RELEASE

## Identifiers

- CVE-2017-12882
- GHSA-49mj-77q5-qw5g

## Related threats

- [Spring Batch Admin vulnerable to Cross-site request forgery (CSRF) in the file upload functionality](https://junglewise.ai/threats/cve-2017-12881-spring-batch-admin-vulnerable-to-cross-site-request-forgery-csrf)
- [Cross-site Scripting in Pivotal Spring Batch Admin](https://junglewise.ai/threats/cve-2018-1229-cross-site-scripting-in-pivotal-spring-batch-admin)
