# CVE-2021-21618: Stored XSS vulnerability in Jenkins Repository Connector Plugin

Source: https://junglewise.ai/threats/cve-2021-21618-stored-xss-vulnerability-in-jenkins-repository-connector-plugin  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-24  
License: CC BY 4.0 with a link back

CVE-2021-21618 · Severity: low · CVSS 3.1 · Published 2022-05-24

Stored XSS vulnerability in Jenkins Repository Connector Plugin

Technologies: [org.jenkins-ci.plugins:repository-connector (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-repository-connector). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

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

**How severe is CVE-2021-21618?** Low severity, with a CVSS score of 3.1, published 24 May 2022.

**Which products and versions are affected?** org.jenkins-ci.plugins:repository-connector (Maven) ECOSYSTEM:introduced=0,fixed=2.0.3.

**Is there a fix for CVE-2021-21618?** Yes. org.jenkins-ci.plugins:repository-connector (Maven): upgrade to 2.0.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-21618?** Check whether you run org.jenkins-ci.plugins:repository-connector (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.plugins:repository-connector (Maven): upgrade to 2.0.3 or later

  ```sh
  # set org.jenkins-ci.plugins:repository-connector to 2.0.3 in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:repository-connector (Maven) ECOSYSTEM:introduced=0,fixed=2.0.3

## Identifiers

- CVE-2021-21618
- GHSA-hg2w-3c4j-jjwm

## Related threats

- [Jenkins Repository Connector Plugin does not perform a permission check in a method implementing form validation](https://junglewise.ai/threats/cve-2022-36904-jenkins-repository-connector-plugin-does-not-perform-a-permission)
- [Jenkins Repository Connector Plugin allows attackers with Overall/Read permission to enumerate credentials IDs](https://junglewise.ai/threats/cve-2022-36903-jenkins-repository-connector-plugin-allows-attackers-with-overall)
- [Cross-site Scripting in Jenkins Repository Connector Plugin](https://junglewise.ai/threats/cve-2022-34195-cross-site-scripting-in-jenkins-repository-connector-plugin)
- [Credentials transmitted in plain text by Repository Connector Plugin](https://junglewise.ai/threats/cve-2020-2149-credentials-transmitted-in-plain-text-by-repository-connector)
- [Jenkins Repository Connector Plugin has insufficiently protected credentials](https://junglewise.ai/threats/cve-2019-1003038-jenkins-repository-connector-plugin-has-insufficiently)
