# CVE-2022-30966: Cross-site Scripting in Jenkins Random String Parameter 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.69%, higher than 48% of CVEs (2026-11-30)
- Published: 2022-05-17T14:06:48.000Z
- Modified: 2026-06-17T04:44:32.240Z
- Also known as: GHSA-38w4-q97c-xh4x
- Weaknesses: CWE-79, CWE-116
- Assigned by: jenkins

## Description

Jenkins Random String Parameter Plugin 1.0 and earlier does not escape the name and description of Random String parameters on views displaying 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 Random String Parameter Plugin: from unspecified up to 1.0; from next of 1.0 before unspecified
- org.jenkins-ci.plugins:random-string-parameter (Maven): up to 1.0
- jenkins random_string_parameter: up to 1.0

## 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-05-17/#SECURITY-2717> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-30966> (advisory)
- <https://github.com/jenkinsci/random-string-parameter-plugin> (package)

## Sources

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

---

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