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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-23T14:00:33.254Z
- Modified: 2026-10-29T14:17:48.467Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- baserproject basercms: >= 5.0.0, < 5.3.2; >= 5.4.0, < 5.4.2

## References

- <https://github.com/baserproject/basercms/security/advisories/GHSA-qhv2-3j2q-v43x> (exploit)
- <https://github.com/baserproject/basercms/commit/bec4776ab497457fac76da7ae67d2dd0ad964eec>
- <https://github.com/baserproject/basercms/releases/tag/5.3.2>
- <https://github.com/baserproject/basercms/releases/tag/5.4.2>

## Sources

- CVE List: [CVE-2026-115457](https://www.cve.org/CVERecord?id=CVE-2026-115457), CVE Terms of Use, modified 2026-10-29
- NVD: [CVE-2026-115457](https://nvd.nist.gov/vuln/detail/CVE-2026-115457), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-115457 · Whole record: https://cve.day/CVE-2026-115457.json · Rebuilt by cve.day 2026-11-25T22:59:46.976Z
