What’s Vulnerable › Vulnerabilities
CVE-2019-13122
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2019-07-10 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- Ozlabs Patchwork: from 1.1 before 2.0.4; from 2.1.0 before 2.1.4; 2.1.0-rc1, 2.1.0-rc2 — fixed in 2.0.4, 2.1.4
How to fix
Upgrade to a fixed version: Ozlabs Patchwork 2.0.4, 2.1.4. Check the vendor advisory for mitigations.
References
- http://jk.ozlabs.org/projects/patchwork/
- http://www.openwall.com/lists/oss-security/2019/07/05/1
- https://github.com/getpatchwork/patchwork/commits/master
- https://github.com/getpatchwork/patchwork/releases
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html
- http://jk.ozlabs.org/projects/patchwork/
- http://www.openwall.com/lists/oss-security/2019/07/05/1
- https://github.com/getpatchwork/patchwork/commits/master
- https://github.com/getpatchwork/patchwork/releases
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html
Get alerted when CVE-2019-13122 or the next vulnerability affects your stack