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. XDGCONFIGDIRS 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.
{
"nvd_published_at": "2019-06-06T19:29:00Z",
"severity": "HIGH",
"github_reviewed_at": "2019-06-07T10:24:55Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-94"
]
}