
Cloud Vulnerability DB
A community-led vulnerabilities database
A cross-site scripting (XSS) vulnerability was discovered in CakePHP versions 3.4 (prior to 3.4.14), 3.5 (prior to 3.5.17), and 3.6 (prior to 3.6.4). The vulnerability specifically affects the development-only 'missing route' and 'duplicate named route' error pages. The issue was reported through the responsible disclosure process by a security researcher named Nacer and was publicly disclosed on May 20, 2018 (CakePHP Blog, GitHub Advisory).
The vulnerability stemmed from missing HTML encoding in the template files for development error pages. Specifically, the 'missing route' and 'duplicate named route' error templates failed to properly encode user-supplied data before displaying it, making them susceptible to XSS attacks. The fix involved adding proper HTML encoding using the 'h()' helper function to sanitize template variables, route information, and debug output (CakePHP Commit).
The vulnerability could potentially allow attackers to execute malicious scripts in the context of the development environment when accessing the affected error pages. However, the impact was limited as the vulnerable pages were only accessible in development environments and not in production deployments (GitHub Advisory).
The vulnerability was patched in CakePHP versions 3.4.14, 3.5.17, and 3.6.4. Users of affected versions are recommended to upgrade to these patched versions or later to address the security issue (CakePHP Blog).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."