Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2019-13122: A Cross Site Scripting (XSS) vulnerability exists in the template tag used to render message ids in Patchwork

39
Routine
MEDIUM 6.1UPGRADE

CVE-2019-13122 is a medium-severity flaw (CVSS 6.1) affecting patchwork. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score6.1 (Medium)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionRequired
EPSS exploit chance1.3% (top 29%)
CISA exploited listNo
WeaknessCWE-79
Published2019-07-10
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: ozlabs

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

ozlabs patchwork UPGRADE
Affected: >= 1.1 and < 2.0.4 · >= 2.1.0 and < 2.1.4 · 2.1.0 rc1 · 2.1.0 rc2
Fixed in: 2.0.4, 2.1.4
Safe to downgrade to: a release before 1.1
1. Check installed version
apt-cache policy patchwork || rpm -q patchwork || patchwork --version
2. UPGRADE to 2.0.4 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade patchwork
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade patchwork
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 1.1 (Debian / Ubuntu)
apt-cache madison patchwork sudo apt install patchwork=<VERSION_BEFORE_1.1> sudo apt-mark hold patchwork
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list patchwork sudo dnf downgrade patchwork-<VERSION_BEFORE_1.1> sudo dnf versionlock add patchwork
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2019-13122?

patchwork: upgrade to 2.0.4, 2.1.4. Exact commands for each OS are on this page.

Is CVE-2019-13122 being exploited?

CVE-2019-13122 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2019-13122 affect?

CVE-2019-13122 affects patchwork. Severity is medium (CVSS 6.1). 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 mailin

How urgent is CVE-2019-13122?

Priority 39/100. No elevated risk signals yet.

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.