Skip to main content
← All vulnerabilities
CVE-2026-115457EUVD-2026-109081GHSA-QHV2-3J2Q-V43X

baserCMS: Unauthenticated Stored XSS via Shortcode Expansion in Blog Comments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.3.2, 5.4.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

baserCMS, a website development framework, is affected by this vulnerability in its 5.0.0 through 5.3.x and 5.4.0 through 5.4.1 releases. An unauthenticated visitor can post a blog comment that makes the site run attacker-supplied JavaScript in the browsers of other visitors or administrators who view that article, potentially compromising an administrator's logged-in session.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  4. Record last updated

Affected versions

  • baserproject basercms

    From 5.0.0 · fixed in 5.3.2; From 5.4.0 · fixed in 5.4.2

References 4

GitHub · baserproject/basercms