p PatchFirst

CVE-2026-115457

CVE-2026-115457 · baserCMS: Unauthenticated Stored XSS via Shortcode Expansion in Blog Comments

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.1 · High · EPSS 0.4%

Published
Updated

Affected products and versions

  • basercms

    Versions
    • >= 5.0.0, < 5.3.2: Affected
    • >= 5.4.0, < 5.4.2: Affected

    No fix published

Original sources

Check your server →