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 Software
Related
{"id": "CVE-2019-13122", "vendorId": null, "type": "cve", "bulletinFamily": "NVD", "title": "CVE-2019-13122", "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.", "published": "2019-07-10T17:15:00", "modified": "2019-07-16T16:48:00", "epss": [{"cve": "CVE-2019-13122", "epss": 0.00265, "percentile": 0.63816, "modified": "2023-12-03"}], "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}, "cvss2": {"cvssV2": {"version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "availabilityImpact": "NONE", "baseScore": 4.3}, "severity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": true}, "cvss3": {"cvssV3": {"version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE", "baseScore": 6.1, "baseSeverity": "MEDIUM"}, "exploitabilityScore": 2.8, "impactScore": 2.7}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-13122", "reporter": "cve@mitre.org", "references": ["http://jk.ozlabs.org/projects/patchwork/", "https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html", "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html", "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html", "https://github.com/getpatchwork/patchwork/releases", "https://github.com/getpatchwork/patchwork/commits/master", "http://www.openwall.com/lists/oss-security/2019/07/05/1"], "cvelist": ["CVE-2019-13122"], "immutableFields": [], "lastseen": "2023-12-03T14:47:21", "viewCount": 56, "enchantments": {"dependencies": {"references": [{"type": "alpinelinux", "idList": ["ALPINE:CVE-2019-13122"]}, {"type": "prion", "idList": ["PRION:CVE-2019-13122"]}]}, "score": {"value": 5.8, "uncertanity": 0.0, "vector": "NONE"}, "backreferences": {}, "exploitation": null, "affected_software": {"major_version": [{"name": "ozlabs patchwork", "version": 2}, {"name": "ozlabs patchwork", "version": 2}, {"name": "ozlabs patchwork", "version": 2}]}, "epss": [{"cve": "CVE-2019-13122", "epss": 0.00242, "percentile": 0.60674, "modified": "2023-05-06"}], "short_description": "{XSS vulnerability in Patchwork v1.1 to v2.1.x, allows JavaScript/HTML injection via email", "tags": ["cve-2019-13122", "cross site scripting", "xss", "patchwork", "email vulnerability", "security patch"], "vulnersScore": 5.8}, "_state": {"dependencies": 1701615854, "score": 1701616085, "affected_software_major_version": 0, "epss": 0, "chatgpt": 0}, "_internal": {"score_hash": "d1911ff3e21c7d909511d4ab0a7d22c2", "chatgpt": "bcd8b0c2eb1fce714eab6cef0d771acc"}, "cna_cvss": {"cna": "mitre", "cvss": {}}, "cpe": ["cpe:/a:ozlabs:patchwork:2.1.0"], "cpe23": ["cpe:2.3:a:ozlabs:patchwork:2.1.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:ozlabs:patchwork:2.1.0:rc1:*:*:*:*:*:*"], "cwe": ["CWE-79"], "affectedSoftware": [{"cpeName": "ozlabs:patchwork", "version": "2.1.0", "operator": "eq", "name": "ozlabs patchwork"}, {"cpeName": "ozlabs:patchwork", "version": "2.1.4", "operator": "lt", "name": "ozlabs patchwork"}, {"cpeName": "ozlabs:patchwork", "version": "2.0.4", "operator": "lt", "name": "ozlabs patchwork"}], "affectedConfiguration": [], "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"operator": "OR", "children": [], "cpe_match": [{"vulnerable": true, "cpe23Uri": "cpe:2.3:a:ozlabs:patchwork:2.1.0:rc2:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:a:ozlabs:patchwork:2.1.0:rc1:*:*:*:*:*:*", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:a:ozlabs:patchwork:2.1.4:*:*:*:*:*:*:*", "versionStartIncluding": "2.1.0", "versionEndExcluding": "2.1.4", "cpe_name": []}, {"vulnerable": true, "cpe23Uri": "cpe:2.3:a:ozlabs:patchwork:2.0.4:*:*:*:*:*:*:*", "versionStartIncluding": "1.1", "versionEndExcluding": "2.0.4", "cpe_name": []}]}]}, "extraReferences": [{"url": "http://jk.ozlabs.org/projects/patchwork/", "name": "http://jk.ozlabs.org/projects/patchwork/", "refsource": "MISC", "tags": ["Vendor Advisory"]}, {"url": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html", "name": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/date.html", "refsource": "MISC", "tags": ["Vendor Advisory"]}, {"url": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html", "name": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005870.html", "refsource": "MISC", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html", "name": "https://lists.ozlabs.org/pipermail/patchwork/2019-July/005878.html", "refsource": "MISC", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "https://github.com/getpatchwork/patchwork/releases", "name": "https://github.com/getpatchwork/patchwork/releases", "refsource": "MISC", "tags": ["Release Notes", "Third Party Advisory"]}, {"url": "https://github.com/getpatchwork/patchwork/commits/master", "name": "https://github.com/getpatchwork/patchwork/commits/master", "refsource": "MISC", "tags": ["Third Party Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2019/07/05/1", "name": "[oss-security] 20190705 CVE-2019-13122: Patchwork: XSS via Message-ID", "refsource": "MLIST", "tags": ["Mailing List", "Third Party Advisory"]}], "product_info": [{"vendor": "Ozlabs", "product": "Patchwork"}], "solutions": [], "workarounds": [], "impacts": [], "problemTypes": [{"descriptions": [{"description": "n/a", "lang": "en", "type": "text"}]}], "exploits": [], "assigned": "2019-07-01T00:00:00"}
{"alpinelinux": [{"lastseen": "2023-12-03T16:03:14", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.0", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2019-07-10T17:15:00", "type": "alpinelinux", "title": "CVE-2019-13122", "bulletinFamily": "unix", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2019-13122"], "modified": "2019-07-16T16:48:00", "id": "ALPINE:CVE-2019-13122", "href": "https://security.alpinelinux.org/vuln/CVE-2019-13122", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}], "prion": [{"lastseen": "2023-11-22T01:58:22", "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.", "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "baseScore": 6.1, "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "version": "3.0", "userInteraction": "REQUIRED"}, "impactScore": 2.7}, "published": "2019-07-10T17:15:00", "type": "prion", "title": "Cross site scripting", "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "acInsufInfo": false, "obtainUserPrivilege": false}, "cvelist": ["CVE-2019-13122"], "modified": "2019-07-16T16:48:00", "id": "PRION:CVE-2019-13122", "href": "https://www.prio-n.com/kb/vulnerability/CVE-2019-13122", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:P/A:N"}}]}