{"id":"ALPINE-CVE-2019-13122","details":"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.","modified":"2026-11-03T06:32:34.917231460Z","published":"2019-07-10T17:15:12.227Z","upstream":["CVE-2019-13122"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2019-13122"}],"affected":[{"package":{"name":"patchwork","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"1.1.3-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}},{"package":{"name":"patchwork","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/patchwork?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.1"},{"fixed":"2.0.1-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2019-13122.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}