{"id":"CVE-2021-23803","aliases":["CVE-2021-23803","GHSA-6pj2-5fqq-xvjc","SNYK-PHP-LATTELATTE-1932226"],"related":[],"kind":"vulnerability","state":"published","title":"Access Control Bypass","summary":"This affects the package latte/latte before 2.10.6. There is a way to bypass allowFunctions that will affect the security of the application. When the template is set to allow/disallow the use of certain functions, adding control characters (x00-x08) after the function will bypass these restrictions.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This affects the package latte/latte before 2.10.6. There is a way to bypass allowFunctions that will affect the security of the application. When the template is set to allow/disallow the use of certain functions, adding control characters (x00-x08) after the function will bypass these restrictions.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete latte/latte versiones anteriores a 2.10.6. Se presenta una forma de omitir allowFunctions que afectará a la seguridad de la aplicación. Cuando la plantilla está configurada para permitir/no permitir el uso de determinadas funciones, añadir caracteres de control (x00-x08) después de la función omitirá estas restricciones","source":"nvd"}],"published":"2021-12-17T20:05:25.479Z","modified":"2026-07-08T06:49:54.495Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"2.10.6","status":"affected"}],"product":"latte/latte","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.10.6"}],"ecosystem":"Packagist","package":"latte/latte","purl":"pkg:composer/latte/latte","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.10.6"}],"vendor":"nette","product":"latte","cpe":"cpe:2.3:a:nette:latte:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226","tags":["exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nette/latte/issues/279","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23803","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nette/latte","tags":["package"],"sources":["ghsa"]}],"credits":["Jiang"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-23803","url":"https://www.cve.org/CVERecord?id=CVE-2021-23803","licence":"CVE Terms of Use","modified":"2024-09-16T17:48:03.457Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6pj2-5fqq-xvjc","url":"https://github.com/advisories/GHSA-6pj2-5fqq-xvjc","licence":"CC-BY-4.0","modified":"2026-07-08T06:49:54.495Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-23803","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23803","licence":"Public domain","modified":"2026-06-17T03:38:53.277Z"}],"updatedAt":"2026-11-25T22:58:06.072Z","epss":{"score":0.01628,"percentile":0.76901,"date":"2026-12-01T12:00:22.000Z"}}