CVE-2024-46995: baserCMS Cross-site Scripting (XSS) Vulnerability in HTTP 400 Bad Request

baserproject/basercms Updated 02 Oct 2025

Summary

24/10/2024
Yes i
Moderate
6.1

CVE-2024-46995: baserCMS has a Cross-site Scripting (XSS) Vulnerability in HTTP 400 Bad Request. Affects baserproject/basercms versions < 5.1.2. Fixed in 5.1.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

baserCMS is an open-source content management system (CMS) designed for building and managing websites with ease. It offers a range of features including customizable templates, user management, and plugin support, making it a popular choice for developers and businesses. However, versions 5.1.1 and earlier are susceptible to a Cross-site Scripting (XSS) vulnerability that can be exploited through malformed HTTP requests.

Vulnerability Detail

The vulnerability arises from the improper handling of HTTP 400 Bad Request responses in baserCMS. Attackers can inject malicious scripts into the request, which may then be executed in the context of the user's browser. This could lead to unauthorized actions being performed on behalf of the user, data theft, or session hijacking. The vulnerability is classified under CWE-79, indicating its nature as a Cross-site Scripting issue.

How To Fix

Minimum fixed version

5.1.2

This is the first release that contains the fix.

composer require baserproject/basercms:5.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can implement input validation on your web server to filter out potentially malicious requests. However, this is not a substitute for updating the software.

Conclusion

In summary, baserCMS versions 5.1.1 and earlier are vulnerable to a Cross-site Scripting (XSS) vulnerability that can be exploited through HTTP 400 Bad Request responses. It is crucial to update to version 5.1.2 or later to safeguard against potential attacks. Additionally, utilizing tools like Vulert can help in monitoring and managing vulnerabilities in your open-source dependencies.

See every vulnerability recorded for baserproject/basercms →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.1, indicating a moderate severity level.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized actions, data theft, and session hijacking, compromising user security.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the composer.lock file.

If you cannot update immediately, implement input validation on your server to mitigate the risk until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for baserproject/basercms.

How To Fix

Minimum fixed version

5.1.2

This is the first release that contains the fix.

composer require baserproject/basercms:5.1.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback