Skip to content

basercms

baserCMS: Unauthenticated Stored XSS via Shortcode Expansion in Blog Comments

CVE-2026-115457Published 23 Oct 2026, 14:00 UTC

Real-world risk

5.3/ 10Medium

Schedule in the normal cycle

PreliminaryFrom the CVSS vector only · confidence low

CVSS

7.1

scored by the vendor (CNA), CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

baserCMS is a website development framework. In versions 5.0.0 before 5.3.2 and 5.4.0 before 5.4.2, global shortcode expansion runs over the complete rendered page, including HTML-escaped blog comments supplied by unauthenticated visitors. A comment containing the BcBaser.getGoogleMaps shortcode can set apiBaseUrl to an attacker-controlled script URL, which is emitted as a script src and executes JavaScript on the site's origin when another visitor or administrator opens the article displaying that comment. Escaping raw HTML in comments does not prevent this stored cross-site scripting because shortcode processing happens after HTML rendering. Other registered shortcodes also expand in comments; Mail.getForm can embed a working contact form with a valid CSRF token. The flaw can compromise the authenticated browser context of an administrator who views the affected article. This issue has been patched in versions 5.3.2 and 5.4.2.

Am I affected?

ProductAffected versions (from the sources)Fixed in
basercmsNiche>= 5.0.0, < 5.3.2; >= 5.4.0, < 5.4.25.3.2, 5.4.2

What to do

Update to a fixed version: 5.3.2, 5.4.2.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.4% chance of exploitation in 30 days (percentile 38), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.700
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.8 × prerequisites 0.7 × threat 0.955.320
  4. Rounded to one decimal between 0.1 and 105.3

How the score works

Exploitation and evidence timeline

  1. 23 Oct 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 5.3 (cvss fallback)

Weakness

CWE-79

References

Get alerts for basercms

Free email or text alerts when a vulnerability in basercms reaches risk 8 or higher. Nothing else.