# CVE-2022-34786: Cross-site Scripting in Jenkins Rich Text Publisher 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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2022-06-30T17:46:46.000Z
- Modified: 2026-06-17T04:50:55.437Z
- Also known as: GHSA-2v6r-jf2g-j5q5
- Weaknesses: CWE-79
- Assigned by: jenkins

## Description

Jenkins Rich Text Publisher Plugin 1.4 and earlier does not escape the HTML message set by its post-build step, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers able to configure jobs.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Rich Text Publisher Plugin: from unspecified up to 1.4; from next of 1.4 before unspecified
- org.jenkins-ci.plugins:rich-text-publisher-plugin (Maven): up to 1.4
- jenkins rich_text_publisher: up to 1.4

## 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-2332> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-34786> (advisory)
- <https://github.com/jenkinsci/rich-text-publisher-plugin> (package)

## Sources

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

---

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