CVE-2024-46996: baserCMS XSS Vulnerability in Blog Posts Feature

baserproject/basercms Updated 02 Oct 2025

Summary

24/10/2024
Yes i
Moderate
6.3

CVE-2024-46996: baserCMS has a Cross-site Scripting (XSS) Vulnerability in Blog posts Feature. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

baserCMS is an open-source content management system (CMS) designed for building and managing websites. It offers a user-friendly interface, customizable themes, and various plugins to enhance functionality. The platform is widely used for blogging and content publishing. However, versions 5.1.1 and earlier are susceptible to a Cross-site Scripting (XSS) vulnerability in the Blog posts feature, which can allow attackers to execute malicious scripts.

Vulnerability Detail

The XSS vulnerability in baserCMS arises from insufficient input validation in the Blog posts feature. This flaw allows an attacker to inject malicious JavaScript code into blog posts, which can be executed in the context of users viewing the posts. The potential ramifications include unauthorized actions performed on behalf of users, data theft, and the spread of malware. 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 measure, users can disable the Blog posts feature until the update is applied. This can be done by navigating to the settings in the baserCMS admin panel and turning off the Blog functionality.

Conclusion

The XSS vulnerability in baserCMS's Blog posts feature poses a significant risk to users of versions 5.1.1 and earlier. It is crucial to update to version 5.1.2 or later to mitigate this risk. Users are also encouraged to monitor their applications for vulnerabilities using tools like Vulert, which can alert them in real-time.

See every vulnerability recorded for baserproject/basercms →

Share this vulnerability

FAQ

The vulnerability is a Cross-site Scripting (XSS) issue that allows attackers to inject malicious scripts into blog posts.

baserCMS versions 5.1.1 and earlier are affected by this vulnerability.

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

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

If you cannot update immediately, consider disabling the Blog posts feature as a temporary workaround.

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