CVE-2026-21451
MEDIUM 5.2CVSS 4.0Bagisto has HTML Filter Bypass that Enables Stored XSS
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.
- Published
- 2 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-2mwc-h2mg-v6p8
- Sources
- NVDJSONOSV GHSA-2mwc-h2mg-v6p8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.2 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.4 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | webkul | bagistocpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:* |
< 2.3.10 | 2.3.10 |
| OSV | Packagist | bagisto/bagisto | < 2.3.10 | 2.3.10 |
References
- https://github.com/bagisto/bagisto/security/advisories/GHSA-2mwc-h2mg-v6p8 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-21451 · ADVISORY
- https://github.com/bagisto/bagisto/commit/f533b1cd9c80896792da60976179c95573d78b79 · WEB
- https://github.com/bagisto/bagisto · PACKAGE
- https://github.com/bagisto/bagisto/releases/tag/v2.3.10 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Jan 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Jan 2026)