All reports
High

Code Injection in PyXDG

Affected versions

Version ranges need review.

PyPIpyxdg
Affected versions
<0.26 || =0.19 || =0.20 || =0.21 || =0.22 || =0.23 || =0.24 || =0.25
Fixed version
0.26
PyPIpyxdg
Affected versions
< 0.26
Fixed version
0.26
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2019-12761

Probability of exploitation in the next 30 days: 2.11%

FIRST EPSS · 2026-11-24

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.

Links