{"cve":"CVE-2019-12761","nvd":{"published":"2019-06-06T19:29:00.533","modified":"2026-06-17T02:15:24.020","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5},"cwes":["CWE-94"],"references":["https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba","https://lists.debian.org/debian-lts-announce/2019/06/msg00006.html","https://lists.debian.org/debian-lts-announce/2021/08/msg00003.html","https://snyk.io/vuln/SNYK-PYTHON-PYXDG-174562","https://gist.github.com/dhondta/b45cd41f4186110a354dc7272916feba"],"products":["python:pyxdg"],"source":"nvd","synced_at":"2026-10-19T20:57:00.690689396+00:00"},"epss":{"cve":"CVE-2019-12761","score":0.02105,"percentile":0.81745,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-r6v3-hpxj-r8rv","url":"https://osv.dev/vulnerability/GHSA-r6v3-hpxj-r8rv","summary":"Code Injection in PyXDG","modified":"2024-10-15T16:46:05.959430Z","packages":[{"ecosystem":"PyPI","name":"pyxdg","purl":"pkg:pypi/pyxdg","ranges":["<0.26"],"fixed":["0.26"]}]},{"id":"PYSEC-2019-199","url":"https://osv.dev/vulnerability/PYSEC-2019-199","summary":"","modified":"2023-11-08T04:01:06.312371Z","packages":[{"ecosystem":"PyPI","name":"pyxdg","purl":"pkg:pypi/pyxdg","ranges":["<0.26"],"fixed":["0.26"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}