# CVE-2018-1999007: Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin

Source: https://junglewise.ai/threats/cve-2018-1999007-cross-site-scripting-vulnerability-exists-in-jenkins-and  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-13  
License: CC BY 4.0 with a link back

CVE-2018-1999007 · Severity: low · CVSS 3 · Published 2022-05-13

Cross-site scripting vulnerability exists in Jenkins and Stapler Plugin

Technologies: [org.jenkins-ci.main:jenkins-core (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-main-jenkins-core), [org.kohsuke.stapler:stapler-parent (Maven)](https://junglewise.ai/threats/technologies/org-kohsuke-stapler-stapler-parent). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2018-1999007?** Low severity, with a CVSS score of 3, published 13 May 2022.

**Which products and versions are affected?** org.jenkins-ci.main:jenkins-core (Maven) ECOSYSTEM:introduced=0,fixed=2.121.2; org.kohsuke.stapler:stapler-parent (Maven) ECOSYSTEM:introduced=0,fixed=1.250.1.

**Is there a fix for CVE-2018-1999007?** Yes. org.jenkins-ci.main:jenkins-core (Maven): upgrade to 2.121.2 or later; org.kohsuke.stapler:stapler-parent (Maven): upgrade to 1.250.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2018-1999007?** Check whether you run org.jenkins-ci.main:jenkins-core (Maven) or org.kohsuke.stapler:stapler-parent (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.jenkins-ci.main:jenkins-core (Maven): upgrade to 2.121.2 or later

  ```sh
  # set org.jenkins-ci.main:jenkins-core to 2.121.2 in your pom.xml or build.gradle
  ```

- org.kohsuke.stapler:stapler-parent (Maven): upgrade to 1.250.1 or later

  ```sh
  # set org.kohsuke.stapler:stapler-parent to 1.250.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.main:jenkins-core (Maven) ECOSYSTEM:introduced=0,fixed=2.121.2
- org.kohsuke.stapler:stapler-parent (Maven) ECOSYSTEM:introduced=0,fixed=1.250.1

## Identifiers

- CVE-2018-1999007
- GHSA-6456-xjm5-g3pg

## Related threats

- [Jenkins plaintext secret storage in job config.xml submissions](https://junglewise.ai/threats/cve-2026-53442-jenkins-plaintext-secret-storage-in-job-config-xml-submissions)
- [Jenkins stored XSS in node offline cause description](https://junglewise.ai/threats/cve-2026-53441-jenkins-stored-xss-in-node-offline-cause-description)
- [Jenkins open redirect in Delegate to servlet container security realm](https://junglewise.ai/threats/cve-2026-53440-jenkins-open-redirect-in-delegate-to-servlet-container-security)
- [Jenkins missing permission checks in user profile endpoints](https://junglewise.ai/threats/cve-2026-53439-jenkins-missing-permission-checks-in-user-profile-endpoints)
- [Jenkins missing permission check in queue item cancellation](https://junglewise.ai/threats/cve-2026-53438-jenkins-missing-permission-check-in-queue-item-cancellation)
