CVE-2024-46996 baserCMS has a Cross-site Scripting (XSS) Vulnerability in Blog posts Feature

Medium 6.3 Published Updated

Attackers can inject malicious scripts into baserCMS blog posts, potentially stealing user sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-46996?

CVE-2024-46996 is a medium-severity cross-site scripting vulnerability in Basercms Basercms, published on 24 Oct 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

baserCMS is a website development framework. Versions prior to 5.1.2 have a cross-site scripting vulnerability in the Blog posts feature. Version 5.1.2 fixes this issue.

Weakness: CWE-79

Which versions are affected by CVE-2024-46996?

2 open source packages ship an affected version, including baserproject/basercms. It affects 1 product.

PackageAffectedFixed in
baserproject/basercms PackagistAll versions5.1.2
baserproject/basercms PackagistAll versions5.1.2

Products include Basercms Basercms.

How do I fix CVE-2024-46996?

Upgrade baserproject/basercms to 5.1.2 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-46996 being exploited?

There is no known exploitation of CVE-2024-46996 in the wild and no public exploit code.

All Basercms Basercms vulnerabilities

Sources

Also known as GHSA-66jv-qrm3-vvfg.

Is CVE-2024-46996 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free