Vulnerability record · CVE-2021-21649 · published 11 May 2021
CVE-2021-21649: Jenkins Dashboard View Plugin stored XSS via unescaped Image Portlet URLs
Jenkins · Dashboard View
Jenkins Dashboard View Plugin 2.15 and earlier fails to escape URLs referenced in Image Dashboard Portlets, creating a stored cross-site scripting flaw. Because the payload is stored in a view configuration, it can execute for other users who load the affected dashboard.
Description
Jenkins Dashboard View Plugin 2.15 and earlier does not escape URLs referenced in Image Dashboard Portlets, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with View/Configure permission.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Automated analysis
medium priorityRequires authenticated View/Configure permission and victim interaction, but stored XSS in a widely used CI dashboard can compromise privileged sessions.
What it is
Jenkins Dashboard View Plugin 2.15 and earlier fails to escape URLs referenced in Image Dashboard Portlets, creating a stored cross-site scripting flaw. Because the payload is stored in a view configuration, it can execute for other users who load the affected dashboard.
Impact
An attacker with View/Configure permission can inject script that runs in the browser of any user viewing the dashboard, potentially stealing session data or performing actions as the victim. The CVSS scope change indicates impact can extend beyond the vulnerable component.
Attack surface
Reachable over the network through the Jenkins web UI; the attacker needs View/Configure permission and a victim must load the affected dashboard view, so user interaction is required.
Exploitation
Not listed in CISA KEV and no public exploit references are provided, but EPSS is very high at 0.72678 (99.4th percentile), indicating elevated predicted exploitation activity.
What to do
- Upgrade Jenkins Dashboard View Plugin to a version later than 2.15 as directed by the vendor advisory SECURITY-2233.
- Restrict View/Configure permission to trusted administrators only.
- Review existing dashboard view configurations for unexpected or external image URLs.
- Apply a restrictive Content-Security-Policy to the Jenkins UI where feasible.
Detection
- Audit Jenkins view configuration files for Image Portlet URLs containing script, javascript:, or data: schemes.
- Monitor Jenkins access and audit logs for changes to view configurations by unexpected accounts.
- Search HTTP logs or browser telemetry for requests to external hosts triggered from dashboard views.
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
| Link | Tags |
|---|---|
| https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2233 | Vendor Advisory |
| https://www.jenkins.io/security/advisory/2021-05-11/#SECURITY-2233 | Vendor Advisory |
Track CVE-2021-21649 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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2021-21649), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.