← Vulnerability feed

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

CVE-2021-21616: Jenkins Active Choices Plugin stored XSS via reference parameter values

Jenkins · Active Choices

The Jenkins Active Choices Plugin through 2.5.2 does not escape reference parameter values, allowing stored cross-site scripting. An attacker with Job/Configure permission can persist script that executes in the browser of other users viewing the affected job.

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

Description

Jenkins Active Choices Plugin 2.5.2 and earlier does not escape reference parameter values, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Job/Configure permission.

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/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 Job/Configure permission and user interaction, and CVSS rates it medium, though the high EPSS score warrants attention.

What it is

The Jenkins Active Choices Plugin through 2.5.2 does not escape reference parameter values, allowing stored cross-site scripting. An attacker with Job/Configure permission can persist script that executes in the browser of other users viewing the affected job.

Impact

An attacker can run arbitrary script in the context of a victim's Jenkins session, potentially stealing session data or performing actions as that user. The CVSS vector limits impact to low confidentiality and integrity with no availability effect.

Attack surface

Reached over the network through the Jenkins web UI; the attacker needs Job/Configure permission and the victim must view the affected job, so user interaction is required.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged in the record, though EPSS is high at 0.788 (99.6th percentile). No ransomware usage is documented.

What to do

  • Upgrade the Active Choices Plugin to a version later than 2.5.2 per the Jenkins advisory.
  • Restrict Job/Configure permission to trusted users only.
  • Review existing job configurations for injected reference parameter values and remove any suspicious content.
  • Apply a restrictive Content-Security-Policy on the Jenkins UI where feasible.

Detection

  • Search Jenkins job configuration history and config.xml files for script tags or event handlers in reference parameter values.
  • Monitor Jenkins audit logs for Job/Configure permission changes or unusual configuration edits.
  • Inspect web access logs for requests containing encoded script payloads in job 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-21616 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.

5.4CVE-2021-21699Jenkins Active Choices Plugin stored XSS via unescaped parameter nameThe Jenkins Active Choices Plugin 2.5.6 and earlier fails to escape the parameter name of reactive parameters and dynamic reference parameters. This …EPSS 88%analysed5.4CVE-2020-2289Jenkins active choices cross-site scripting vulnerabilityJenkins Active Choices Plugin 2.4 and earlier does not escape the name and description of build parameters, resulting in a stored cross-site scriptin…EPSS 0.91%5.4CVE-2020-2290Jenkins active choices cross-site scripting vulnerabilityJenkins Active Choices Plugin 2.4 and earlier does not escape some return values of sandboxed scripts for Reactive Reference Parameters, resulting in…EPSS 0.90%5.4CVE-2017-1000386Jenkins active choices cross-site scripting vulnerabilityJenkins Active Choices plugin version 1.5.3 and earlier allowed users with Job/Configure permission to provide arbitrary HTML to be shown on the 'Bui…EPSS 0.81%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%analysed6.1CVE-2025-68461Roundcube Webmail XSS via SVG animate tagRoundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is vulnerable to cross-site scripting through the animate tag in an SVG document. Because the f…KEVEPSS 27%analysed

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