Loading HuntDB...

GHSA-mw4r-5mfc-m5vc

GitHub Security Advisory

Cross site scripting in Jenkins Selection tasks Plugin

✓ GitHub Reviewed HIGH Has CVE

Advisory Details

Jenkins Selection tasks Plugin 1.0 and earlier does not escape the name and description of Script Selection task variable parameters on views displaying parameters. This results in stored cross-site scripting (XSS) vulnerabilities exploitable by attackers with Item/Configure permission.

Exploitation of this vulnerability requires that parameters are listed on another page, like the \"Build With Parameters\" and \"Parameters\" pages provided by Jenkins (core), and that those pages are not hardened to prevent exploitation. Jenkins (core) has prevented exploitation of vulnerabilities of this kind on the \"Build With Parameters\" and \"Parameters\" pages since 2.44 and LTS 2.32.2 as part of the [SECURITY-353 / CVE-2017-2601](https://www.jenkins.io/security/advisory/2017-02-01/#persisted-cross-site-scripting-vulnerability-in-parameter-names-and-descriptions) fix. Additionally, several plugins have previously been updated to list parameters in a way that prevents exploitation by default, see [SECURITY-2617 in the 2022-04-12 security advisory for a list](https://www.jenkins.io/security/advisory/2022-04-12/#SECURITY-2617).

Affected Packages

Maven org.jvnet.hudson.plugins:selection-tasks-plugin
Affected versions: 0 (last affected: 1.0)

Related CVEs

Key Information

GHSA ID
GHSA-mw4r-5mfc-m5vc
Published
May 18, 2022 12:00 AM
Last Modified
December 2, 2022 8:12 PM
CVSS Score
7.5 /10
Primary Ecosystem
Maven
Primary Package
org.jvnet.hudson.plugins:selection-tasks-plugin
GitHub Reviewed
✓ Yes

Dataset

Last updated: August 25, 2025 6:33 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.