← Vulnerability feed

Vulnerability record · CVE-2021-21628 · published 30 March 2021

CVE-2021-21628: Jenkins Build With Parameters Plugin stored XSS via unescaped parameter names

Jenkins · Build With Parameters

The Jenkins Build With Parameters Plugin 1.5 and earlier does not escape parameter names and descriptions, allowing stored cross-site scripting. An attacker with Job/Configure permission can plant script that executes in the browser of other users who view the affected job, which matters because Jenkins is a high-value target for credential and pipeline abuse.

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

Description

Jenkins Build With Parameters Plugin 1.5 and earlier does not escape parameter names and descriptions, 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: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 Job/Configure permission and victim interaction, but the stored XSS can compromise other Jenkins users and EPSS is very high.

What it is

The Jenkins Build With Parameters Plugin 1.5 and earlier does not escape parameter names and descriptions, allowing stored cross-site scripting. An attacker with Job/Configure permission can plant script that executes in the browser of other users who view the affected job, which matters because Jenkins is a high-value target for credential and pipeline abuse.

Impact

An attacker gains script execution in the context of other Jenkins users viewing the job, enabling session or credential theft and actions performed as those users. The scope change in the CVSS vector reflects impact beyond the vulnerable component.

Attack surface

Reached over the network through the Jenkins web UI where parameter names and descriptions are rendered. The attacker needs Job/Configure permission, and a victim must view the affected job page, so user interaction is required.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged in the record, but EPSS is high at 0.8143 (99.62nd percentile), indicating elevated predicted exploitation activity.

What to do

  • Upgrade the Build With Parameters Plugin to a version later than 1.5 that escapes parameter names and descriptions.
  • If immediate upgrade is not possible, restrict Job/Configure permission to trusted users only.
  • Review Jenkins users and groups for unnecessary Job/Configure grants and remove them.
  • Apply output encoding or a content security policy in Jenkins to reduce XSS impact where feasible.

Detection

  • Search Jenkins job configurations for parameter names or descriptions containing script tags or HTML event handlers.
  • Monitor Jenkins audit logs for Job/Configure permission changes or new job configuration edits by unexpected users.
  • Inspect web access logs for requests to job pages containing suspicious encoded script payloads.
  • Review browser or proxy alerts for script execution originating from Jenkins 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-21628 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.

8.8CVE-2021-21629Jenkins build with parameters cross-site request forgery vulnerabilityA cross-site request forgery (CSRF) vulnerability in Jenkins Build With Parameters Plugin 1.5 and earlier allows attackers to build a project with at…EPSS 0.76%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%analysed10.0CVE-2026-22769Dell RecoverPoint for Virtual Machines hardcoded credential flawDell RecoverPoint for Virtual Machines versions prior to 6.0.3.1 HF1 contain a hardcoded credential vulnerability (CWE-798). An unauthenticated remot…KEVEPSS 13%analysed7.1CVE-2025-14611Gladinet CentreStack and Triofox hardcoded AES key enables file inclusionCentreStack and Triofox before 16.12.10420.56791 use hardcoded values in their AES cryptoscheme, weakening protection for publicly exposed endpoints.…KEVEPSS 53%analysed5.4CVE-2021-26829OpenPLC ScadaBR stored XSS via system_settings.shtmOpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored cross-site scripting through system_settings.shtm. Because the inj…KEVEPSS 48%analysed

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