{"id":"CVE-2019-12761","url":"https://www.cyber-defence.io/tools/cve/CVE-2019-12761","generatedAt":"2026-10-28T22:21:40.376Z","title":"A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file.","description":"A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.","published":"2019-06-06T19:29:01.000Z","lastModified":"2026-06-17T02:15:24.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"},"cwe":["CWE-94"],"affected":["python/pyxdg"],"epss":{"score":0.02105,"percentile":0.81645,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.10%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html","source":"cve@mitre.org"},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html","source":"cve@mitre.org"},{"url":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-12761","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}