# CVE-2022-28159: Stored Cross-site Scripting vulnerability in Jenkins Tests Selector Plugin

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 58% of CVEs (2026-12-02)
- Published: 2022-03-29T12:31:25.000Z
- Modified: 2026-06-17T04:38:05.200Z
- Also known as: GHSA-q787-qgw2-j2qf
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

Jenkins Tests Selector Plugin 1.3.3 and earlier does not escape the Properties File Path option for Choosing Tests parameters, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with Item/Configure permission.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Tests Selector Plugin: from unspecified up to 1.3.3; from next of 1.3.3 before unspecified
- org.jenkins-ci.plugins:selected-tests-executor (Maven): up to 1.3.3
- jenkins tests_selector: up to 1.3.3

## Every score

- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-03-29/#SECURITY-2262> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/03/29/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-28159> (advisory)
- <https://github.com/jenkinsci/selected-tests-executor-plugin> (package)

## Sources

- CVE List: [CVE-2022-28159](https://www.cve.org/CVERecord?id=CVE-2022-28159), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-q787-qgw2-j2qf](https://github.com/advisories/GHSA-q787-qgw2-j2qf), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-28159](https://nvd.nist.gov/vuln/detail/CVE-2022-28159), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-28159 · Whole record: https://cve.day/CVE-2022-28159.json · Rebuilt by cve.day 2026-11-25T22:58:10.321Z
