CVE Catalog

CVE-2026-115457

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.30%

22th percentile - higher than 22% of all known CVEs

Summary

In baserCMS, 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.

Risk Assessment

An attacker can execute stored XSS in the browser of an administrator or other users, potentially leading to session hijacking, data theft, or actions performed on behalf of the victim. Other shortcodes, such as Mail.getForm, can also be abused to embed a working contact form with a valid CSRF token.

Recommendation

Update baserCMS to version 5.3.2 or 5.4.2, which patch the vulnerability. Consider disabling or restricting shortcode expansion in comments and monitor for unusual comments containing shortcodes.

Other vulnerabilities in baserCMS

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS