# CVE-2019-13122: A Cross Site Scripting (XSS) vulnerability exists in the template tag used to render message ids in Patchwork v1.1 through v2.1.x.

- Severity: Medium 6.1 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:N/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): 1.34%, higher than 72% of CVEs (2026-12-01)
- Published: 2019-07-10T16:38:39.000Z
- Modified: 2026-06-17T02:16:06.833Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

A Cross Site Scripting (XSS) vulnerability exists in the template tag used to render message ids in Patchwork v1.1 through v2.1.x. This allows an attacker to insert JavaScript or HTML into the patch detail page via an email sent to a mailing list consumed by Patchwork. This affects the function msgid in templatetags/patch.py. Patchwork versions v2.1.4 and v2.0.4 will contain the fix.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- ozlabs patchwork: from 1.1 before 2.0.4; from 2.1.0 before 2.1.4; 2.1.0

## Every score

- NVD: CVSS:3.0 6.1 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/getpatchwork/patchwork/releases> (release-notes, third-party-advisory)
- <https://github.com/getpatchwork/patchwork/commits/master> (third-party-advisory)
- <https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html> (vendor-advisory)
- <http://jk.ozlabs.org/projects/patchwork/> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2019/07/05/1> (mailing-list, third-party-advisory)
- <https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html> (mailing-list, vendor-advisory)
- <https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html> (mailing-list, vendor-advisory)

## Sources

- CVE List: [CVE-2019-13122](https://www.cve.org/CVERecord?id=CVE-2019-13122), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-13122](https://nvd.nist.gov/vuln/detail/CVE-2019-13122), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-13122 · Whole record: https://cve.day/CVE-2019-13122.json · Rebuilt by cve.day 2026-11-25T22:57:45.904Z
