CVE-2021-23803
CRITICAL 9.8CVSS 3.1Incorrect Authorization in latte/latte
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.
- Published
- 17 Dec 2021
- Last modified
- 8 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-863
- Also known as
- GHSA-6pj2-5fqq-xvjcSNYK-PHP-LATTELATTE-1932226
- Sources
- NVDJSONOSV GHSA-6pj2-5fqq-xvjcJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nette | lattecpe:2.3:a:nette:latte:*:*:*:*:*:*:*:* |
< 2.10.6 | 2.10.6 |
| OSV | Packagist | latte/latte | < 2.10.6 | 2.10.6 |
References
- https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210 · Patch, Third Party Advisory, WEB
- https://github.com/nette/latte/issues/279 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23803 · ADVISORY
- https://github.com/nette/latte · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 17 Dec 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jan 2022)