{"id":"CVE-2022-0323","aliases":["GHSA-4rmr-c2jx-vx27"],"url":"https://o3.security/vulnerability/CVE-2022-0323","summary":"Improper Neutralization of Special Elements Used in a Template Engine in bobthecow/mustache.php","details":"In Mustache.php v2.0.0 through v2.14.0, Sections tag can lead to arbitrary php code execution even if strict_callables is true when section value is controllable.\n\n","published":"2022-01-21T18:00:17Z","modified":"2026-08-12T03:51:11.625859388Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},"epss":{"score":0.00691,"percentile":0.49768,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"Packagist","name":"mustache/mustache","fixedVersion":"2.14.1"}],"fix":{"url":"https://github.com/bobthecow/mustache.php/commit/579ffa5c96e1d292c060b3dd62811ff01ad8c24e","label":"bobthecow/mustache.php@579ffa5"},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/a5f5a988-aa52-4443-839d-299a63f44fb7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0323.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0323"},{"type":"FIX","url":"https://github.com/bobthecow/mustache.php/commit/579ffa5c96e1d292c060b3dd62811ff01ad8c24e"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/mustache/mustache/CVE-2022-0323.yaml"},{"type":"PACKAGE","url":"https://github.com/bobthecow/mustache.php"},{"type":"WEB","url":"https://github.com/bobthecow/mustache.php/releases/tag/v2.14.1"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:11.625859388Z"}}