Vulnerability · Published Jan 2, 2026 · Assigned by GitHub_M
CVE-2026-21451Bagisto has HTML Filter Bypass that Enables Stored XSS
Medium 5.2
In plain English
A medium-severity cross-site scripting in bagisto from bagisto. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Bagisto is an open source laravel eCommerce platform. A stored Cross-Site Scripting (XSS) vulnerability exists in Bagisto prior to version 2.3.10 within the CMS page editor. Although the platform normally attempts to sanitize `<script>` tags, the filtering can be bypassed by manipulating the raw HTTP POST request before submission. As a result, arbitrary JavaScript can be stored in the CMS content and executed whenever the page is viewed or edited. This exposes administrators to a high-severity risk, including complete account takeover, backend hijacking, and malicious script execution. Version 2.3.10 fixes the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | bagisto/bagisto | 2.3.10 | GHSA-2mwc-h2mg-v6p8 |
Affected products (as reported)
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:P
References
- https://github.com/bagisto/bagisto/security/advisories/GHSA-2mwc-h2mg-v6p8 x_refsource_CONFIRM