baserCMS has Cross-site Scripting Vulnerability in HTTP 400 Bad Request
Description
baserCMS is a website development framework. Versions prior to 5.1.2 have a cross-site scripting vulnerability in HTTP 400 Bad Request. Version 5.1.2 fixes this issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
baserCMS prior to 5.1.2 has a reflected XSS vulnerability via HTTP 400 Bad Request error pages, allowing script execution.
Vulnerability
Overview baserCMS, a PHP-based website development framework built on CakePHP, is vulnerable to a reflected cross-site scripting (XSS) flaw in its handling of HTTP 400 Bad Request errors. The issue exists in versions prior to 5.1.2 and stems from insufficient sanitization of input data that gets reflected in error pages.[1]
Exploitation
Details The vulnerability is triggerable remotely without requiring authentication. An attacker can craft a malicious URL that generates a 400 Bad Request response containing injected script. No special privileges or user interaction beyond clicking the crafted link is needed, as the scope of the attack remains within the web application.[2]
Impact
Successful exploitation allows an attacker to execute arbitrary JavaScript in the victim's browser. This could lead to stealing session cookies, performing actions on behalf of the authenticated user, reading sensitive page content, or redirecting the user to malicious sites. The CVSS vector indicates this can be achieved with low attack complexity and no privileges required.[2]
Mitigation
The vulnerability is patched in baserCMS version 5.1.2. Users are strongly advised to update immediately. There are no workarounds provided for older versions.[1][2]
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
baserproject/basercmsPackagist | < 5.1.2 | 5.1.2 |
Affected products
2- baserproject/basercmsv5Range: < 5.1.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-mr7q-fv7j-jcgvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-46995ghsaADVISORY
- basercms.net/security/JVN_00876083ghsaWEB
- basercms.net/security/JVN_06274755ghsax_refsource_MISCWEB
- github.com/baserproject/basercms/security/advisories/GHSA-mr7q-fv7j-jcgvghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.