CVE-2024-46995: baserCMS has a Cross-site Scripting (XSS) Vulnerability in HTTP 400 Bad Request
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.26545%
CWE
Published
10/24/2024
Updated
10/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| baserproject/basercms | composer | <= 5.1.1 | 5.1.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in HTTP 400 error page generation, which typically involves displaying request details. In MVC frameworks like baserCMS (CakePHP-based), error handling is centralized in ErrorController. The _getErrorPageContent method is a probable candidate as it would process error templates and inject request parameters into the response. The XSS occurs when user-supplied input (e.g., malicious URL parameters triggering 400 errors) is reflected without proper HTML escaping. Confidence is medium due to lack of direct code access, but aligns with described vulnerability mechanics and framework architecture patterns.