CVE-2026-30879: baserCMS Cross-Site Scripting Vulnerability in Blog Posts

baserproject/basercms Updated 01 Apr 2026

Summary

31/03/2026
Yes i
Moderate
6.9

CVE-2026-30879: baserCMS has a cross-site scripting vulnerability in blog posts. Affects baserproject/basercms versions < 5.2.3. Fixed in 5.2.3. 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 Penetration testing for web, API and mobile 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. It provides users with a flexible framework for creating blog posts, pages, and other content types. The system is widely used for its ease of use and extensibility. However, versions 5.2.1 and earlier are vulnerable to a cross-site scripting (XSS) issue that allows attackers to inject malicious JavaScript into blog posts, potentially compromising user data and site integrity.

Vulnerability Detail

The vulnerability arises from improper handling of user input in blog posts, allowing attackers to embed malicious JavaScript code. When users view the affected blog posts, the malicious script executes in their browsers, which can lead to session hijacking, data theft, or redirecting users to malicious sites. This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')).

How To Fix

Minimum fixed version

5.2.3

This is the first release that contains the fix.

composer require baserproject/basercms:5.2.3

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

Workaround

If you cannot update immediately, consider sanitizing user input on your blog posts to prevent the execution of JavaScript. This can be done by using libraries that escape HTML characters or by implementing a content security policy (CSP) that restricts script execution.

Conclusion

In summary, baserCMS versions 5.2.1 and earlier are vulnerable to a cross-site scripting issue that can lead to serious security risks. It is crucial to update to version 5.2.3 or later to protect your application and users from potential attacks. Additionally, utilizing tools like Vulert can help monitor and alert you to open-source vulnerabilities in your software.

See every vulnerability recorded for baserproject/basercms →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.9, indicating a moderate level of risk.

baserCMS versions 5.2.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 needing to sign up.

The potential impacts include session hijacking, data theft, and redirecting users to malicious sites.

Yes, you can sanitize user input and implement a content security policy (CSP) to mitigate the risk until you can update.

Related vulnerabilities

Recent vulnerabilities recorded for baserproject/basercms.

How To Fix

Minimum fixed version

5.2.3

This is the first release that contains the fix.

composer require baserproject/basercms:5.2.3

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