← Vulnerability feed

Vulnerability record · CVE-2021-21618 · published 24 February 2021

CVE-2021-21618: Jenkins Repository Connector Plugin stored XSS via unescaped parameter names

Jenkins · Repository Connector

Jenkins Repository Connector Plugin 2.0.2 and earlier fails to escape parameter names and descriptions for past builds, creating a stored cross-site scripting flaw. An attacker with Item/Configure permission can inject script that executes in the browser of other users viewing the affected build data.

5.4 CVSS 3.1 Medium EPSS 82% · top 0.4% CWE-79 · Cross-site scripting
5.4CVSS 3.1 base score, v2 3.5
82%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

Jenkins Repository Connector Plugin 2.0.2 and earlier does not escape parameter names and descriptions for past builds, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

medium priorityRequires authenticated Item/Configure permission and victim interaction, but the stored XSS can affect other users and EPSS is very high.

What it is

Jenkins Repository Connector Plugin 2.0.2 and earlier fails to escape parameter names and descriptions for past builds, creating a stored cross-site scripting flaw. An attacker with Item/Configure permission can inject script that executes in the browser of other users viewing the affected build data.

Impact

An attacker can run arbitrary JavaScript in a victim's Jenkins session, potentially stealing session data or performing actions as the victim. The scope change in the CVSS vector means the script can affect resources beyond the vulnerable component.

Attack surface

Reachable over the network through the Jenkins web interface. The attacker needs Item/Configure permission, and a victim must view the affected past build page, so user interaction is required.

Exploitation

Not listed in CISA KEV and no public exploit references are provided. EPSS is high at 0.81765 (99.6th percentile), indicating elevated predicted exploitation activity.

What to do

  • Upgrade Jenkins Repository Connector Plugin to a version later than 2.0.2 as directed by the vendor advisory.
  • Restrict Item/Configure permission to trusted users only.
  • Review and remove any untrusted parameter names or descriptions in past build records.
  • Apply Jenkins security hardening guidance for plugin and permission management.

Detection

  • Search Jenkins build parameter names and descriptions for HTML or script tags.
  • Monitor Jenkins audit logs for unexpected Item/Configure permission changes or suspicious configuration edits.
  • Inspect web access logs for requests containing encoded script payloads in build parameter fields.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-21618 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2019-1003038Jenkins repository connector insufficiently protected credentials vulnerabilityAn insufficiently protected credentials vulnerability exists in Jenkins Repository Connector Plugin 1.2.4 and earlier in src/main/java/org/jvnet/huds…EPSS 0.39%5.4CVE-2022-34195Jenkins repository connector cross-site scripting vulnerabilityJenkins Repository Connector Plugin 2.2.0 and earlier does not escape the name and description of Maven Repository Artifact parameters on views displ…EPSS 0.80%5.3CVE-2020-2149Jenkins repository connector cleartext transmission vulnerabilityJenkins Repository Connector Plugin 1.2.6 and earlier transmits configured credentials in plain text as part of its global Jenkins configuration form…EPSS 0.61%4.3CVE-2022-36903Jenkins repository connector missing authorization vulnerabilityA missing permission check in Jenkins Repository Connector Plugin 2.2.0 and earlier allows attackers with Overall/Read permission to enumerate creden…EPSS 0.68%4.3CVE-2022-36904Jenkins repository connector missing authorization vulnerabilityJenkins Repository Connector Plugin 2.2.0 and earlier does not perform a permission check in a method implementing form validation, allowing attacker…EPSS 0.68%6.1CVE-2026-42897Microsoft Exchange Server XSS enables spoofingMicrosoft Exchange Server and Exchange Server Subscription Edition fail to neutralize input during web page generation, a cross-site scripting flaw (…KEVEPSS 0.52%analysed6.1CVE-2025-48700Zimbra Classic UI stored XSS via crafted email HTMLZimbra Collaboration Suite Classic UI fails to properly sanitize HTML content in email messages, allowing crafted tag structures and attribute values…KEVEPSS 1.7%analysed6.1CVE-2025-66376Zimbra Collaboration Classic UI stored XSS via CSS @import in emailZimbra Collaboration Suite 10 before 10.0.18 and 10.1 before 10.1.13 allows stored cross-site scripting in the Classic UI through CSS @import directi…KEVEPSS 20%analysed

Source: NIST National Vulnerability Database (record CVE-2021-21618), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.