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?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| basercmsNiche | >= 5.0.0, < 5.3.2; >= 5.4.0, < 5.4.2 | 5.3.2, 5.4.2 |
What to do
Update to a fixed version: 5.3.2, 5.4.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.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
- Prerequisites multiplied together0.700
- Threat T3: Public proof of concept0.950
- 10 × impact 0.8 × prerequisites 0.7 × threat 0.955.320
- Rounded to one decimal between 0.1 and 105.3
Exploitation and evidence timeline
- 23 Oct 2026 Published
- 3 Dec 2026 Reference tagged as exploit first seen
- 3 Dec 2026 CISA SSVC: proof of concept first seen
- 3 Dec 2026 Risk 5.3 (cvss fallback)
Weakness
CWE-79
References
- https://github.com/baserproject/basercms/security/advisories/GHSA-qhv2-3j2q-v43xexploit, vendor-advisory
- https://github.com/baserproject/basercms/commit/bec4776ab497457fac76da7ae67d2dd0ad964eecmisc
- https://github.com/baserproject/basercms/releases/tag/5.3.2misc
- https://github.com/baserproject/basercms/releases/tag/5.4.2misc
- CVE-2026-115457 on CVE.org