CVE-2006-4067: Cross-site scripting (XSS) vulnerability in CakePHP
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.60585%
CWE
Published
5/1/2022
Updated
2/2/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| cakephp/cakephp | composer | >= 1.0.1.2708, <= 1.1.6.3264 | 1.1.7.3363 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in 404 error page generation where user-supplied URL input is reflected without proper sanitization. The ErrorHandler class in error.php is responsible for error rendering in CakePHP. The _outputMessage method would be the logical location where raw URL input is incorporated into HTML output. Since the advisory specifically mentions error.php as the vulnerable component and describes reflected XSS via URL input, this function's failure to apply output encoding to user-controlled input before rendering constitutes the vulnerability.