# CVE-2022-34777: Cross-site Scripting in Jenkins GitLab 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): 73.6%, higher than 99% of CVEs (2026-12-01)
- Published: 2022-06-30T17:45:54.000Z
- Modified: 2026-06-17T04:50:54.517Z
- Also known as: GHSA-f655-xhvm-cwp4
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

Jenkins GitLab Plugin 1.5.34 and earlier does not escape multiple fields inserted into the description of webhook-triggered builds, 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 GitLab Plugin: from unspecified up to 1.5.34
- org.jenkins-ci.plugins:gitlab-plugin (Maven): before 1.5.35
- jenkins gitlab: up to 1.5.34

## Every score

- GitHub: CVSS:3.1 8.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`
- 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-06-30/#SECURITY-2316> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34777> (advisory)
- <https://github.com/jenkinsci/gitlab-plugin/commit/24e9a99d8151b5345109ef12cddc1ab323baa4ee> (web)
- <https://github.com/jenkinsci/gitlab-plugin> (package)

## Sources

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

---

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