Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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. 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-13122
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:34 UTC · Revision 1

Source evidence

CVE-2019-13122

core-osv · Original source

Published 10 Jul 2019, 17:15 UTC

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.

osv:CVE-2019-13122
Complete source record
{
  "id": "715c86395c0acd9c7089f9bc0ae4265f9448fcfd077a1c002ee8ccd4441112f7",
  "url": "https://osv.dev/vulnerability/CVE-2019-13122",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-13122",
    "summary": "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.",
    "evidence": "osv:CVE-2019-13122",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-13122",
      "aliases": [
        "CVE-2019-13122"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/getpatchwork/patchwork",
              "type": "GIT",
              "events": [
                {
                  "introduced": "be6cc3c2dbb58fada64569014aa3528b7886be4f"
                },
                {
                  "fixed": "6ead7215f198751b3734f725cfb82b7c7db44633"
                },
                {
                  "introduced": "2f89ef6054779f537bd711e6ea5b199390cd7596"
                },
                {
                  "fixed": "1ad5e6f28e28432677955b9437d5c8f51dc3bf6c"
                },
                {
                  "introduced": "771c0adec681fa9a829e19805f90c0cf7bdbcdde"
                },
                {
                  "last_affected": "d0ea6fa154a644cb819b7a22e546139335069a25"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ozlabs:patchwork:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.1"
                      },
                      {
                        "fixed": "2.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:ozlabs:patchwork:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0"
                      },
                      {
                        "fixed": "2.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:ozlabs:patchwork:2.1.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0-rc1"
                      },
                      {
                        "last_affected": "2.1.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:ozlabs:patchwork:2.1.0:rc2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.1.0-rc2"
                      },
                      {
                        "last_affected": "2.1.0-rc2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.1.0-rc1",
            "2.1.0-rc2",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.3",
            "v2.0.2",
            "v2.1.0-rc2",
            "v2.1.0-rc1",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-rc4",
            "v2.0.0-rc3",
            "v2.0.0-rc2",
            "v2.0.0-rc1",
            "v1.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-13122.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:42.015826948Z",
      "provider": "osv",
      "references": [
        "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"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-13122",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 382018,
  "published_at": "2019-07-10T17:15:12.227+00:00"
}