Security readout for executives and security teams
Plain-English summary
CVE-2021-23803 lets a restricted Latte template use functions that an application intended to block. If an exposed application lets users or administrators edit templates, this could undermine confidentiality, integrity, and availability protections.
Executive priority
Prioritize patching if Latte templates are editable by customers, tenants, CMS users, or lower-trust administrators. If templates are fully developer-controlled, urgency is lower but still important because the vulnerable dependency weakens a security control.
Technical view
latte/latte before 2.10.6 has an allowFunctions bypass. Sources state control characters after a function name can bypass configured allow or deny restrictions, affecting applications relying on Latte template function controls as a security boundary.
Likely exposure
Exposure is likely limited to PHP applications using latte/latte before 2.10.6, especially where templates are user-editable, tenant-editable, CMS-managed, or otherwise not fully trusted.
Exploitation context
The source bundle does not show CISA KEV listing or confirmed active exploitation. The supplied CVSS is 9.8 with network attack vector, low complexity, no privileges, no user interaction, and proof-of-concept exploit maturity.
Researcher notes
The public description is specific about the bypass mechanism but sparse on real-world exploit use and impacted application patterns. Validate exposure through dependency version, template trust model, and reliance on allowFunctions, rather than assuming all Latte use is equally exploitable.
Mitigation direction
- Upgrade latte/latte to version 2.10.6 or later.
- Check vendor guidance and the upstream commit before relying on compensating controls.
- Restrict template editing to trusted administrators until patched.
- Review applications that treat allowFunctions as a security boundary.
- Audit dependency manifests and deployed artifacts for vulnerable Latte versions.
Validation and detection
- Check composer.lock or SBOM entries for latte/latte versions before 2.10.6.
- Identify code paths configuring Latte allowFunctions or function deny behavior.
- Confirm whether any untrusted users can create or modify templates.
- Verify production deployments run the patched dependency, not only source branches.
- Review security scanner results against the cited Snyk advisory and CVE record.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23803 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Critical
- CVSS
- 9.8 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P3.95.9Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
9.8CriticalVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-PHP-LATTELATTE-1932226CVE reference · x_refsource_MISC
- https://github.com/nette/latte/issues/279CVE reference · x_refsource_MISC
- https://github.com/nette/latte/commit/227c86eda9a8a6d060ea8501923e768b6d992210CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
