Description
TwigView plugin for CakePHP provides wrappers for common View operations and extensions that expose CakePHP functions and jasny/twig-extensions helpers. Prior to versions 1.3.3 and 2.1.2, the unserialize filter has no restriction on which classes are allowed. This can used as a deserialization remote-code-execution gadget. This issue has been patched in versions 1.3.3 and 2.1.2.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-502 — CWE-502: Deserialization of Untrusted Data
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cakephp | twig-view | < 1.3.3 [affected]; >= 2.0.0, < 2.1.2 [affected] |
References
- https://github.com/cakephp/twig-view/security/advisories/GHSA-48qj-5wxh-m8hc (x_refsource_CONFIRM)
- https://github.com/cakephp/twig-view/pull/119 (x_refsource_MISC)
- https://github.com/cakephp/twig-view/pull/120 (x_refsource_MISC)
- https://github.com/cakephp/twig-view/commit/99a59407b138a0efff0ce3896cbf67e71a9c9cd3 (x_refsource_MISC)
- https://github.com/cakephp/twig-view/releases/tag/1.3.3 (x_refsource_MISC)
- https://github.com/cakephp/twig-view/releases/tag/2.1.2 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 11 Nov 2026 08:04 UTC.