CVE-2026-21451: Bagisto has HTML Filter Bypass that Enables Stored XSS
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by GitHub_M, published 2026-01-02).
Weakness: CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)
How it can be exploited
Exploitable over the network with low attack complexity with no special attack requirements needing high privileges and no user interaction. Impact: confidentiality none, integrity none, availability none. 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
CISA assessment (SSVC): CISA assesses that a public proof of concept exists. Automatable: no. Technical impact: partial.
Public exploit evidence (Exploit Observer)
Also known as: CNNVD-202601-069, EUVD-2026-0032, GHSA-2mwc-h2mg-v6p8
VEDAS cluster: VEDAS:COBALTGECKO
Exploit Observer links 4 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (4)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Code repository: https://github.com/ashwesker/ashwesker-cve-2026-21451
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-21451.rules
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-21451.rules
- Code repository: https://raw.githubusercontent.com/ARPSyndicate/vedas-signatures/main/suricata/2026/CVE-2026-21451.rules
Vulnerability databases and vendor advisories (6)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2026-0032
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-2mwc-h2mg-v6p8
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-21451
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/CVE-2026-21451
- Vulnerability database or vendor advisory: https://osv.dev/vulnerability/GHSA-2mwc-h2mg-v6p8
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202601-069
1 more reference returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.006
low predicted chance of attack - VEDAS
- 0.978
strong exploit evidence - On CISA KEV
- Not listed
- Detection rule
- Suricata
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| bagisto bagisto | version < 2.3.10 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: packagist bagisto/bagisto, webkul bagisto.
How to fix it
No fixed version or vendor advisory is listed in the CVE record yet. Watch the vendor’s security page.
How to detect it
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2026-21451 Bagisto - Stored XSS via CMS Page html_content. Add them to your Suricata rule set and reload.
Show the rules
# CVE-2026-21451 - Bagisto < 2.3.10 CMS page editor stores page HTML without effective script
# filtering (the <script> filter is bypassable by manipulating the raw POST), yielding stored
# XSS executed when the page is viewed or edited by an administrator. Detect a CMS page save
# (/admin/cms edit/create) whose html_content field carries an active script payload.
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2026-21451 Bagisto - Stored XSS via CMS Page html_content"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/cms"; nocase; fast_pattern; http.request_body; content:"html_content"; nocase; pcre:"/html_content(?:%5d|\x5d|%22|\x22)?[^&]*(?:(?:<|%3c)\s*(?:script|svg|iframe|img|object|embed)|on(?:load|error|click|mouseover|focus|animationstart)\s*(?:=|%3d))/i"; classtype:web-application-attack; reference:cve,CVE-2026-21451; reference:url,https://www.exploit.observer/?keyword=CVE-2026-21451&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=bagisto&match=exact; sid:1101207; rev:1;)
CVE-2026-21451.rules on GitHub
References
Other references
- https://github.com/bagisto/bagisto/security/advisories/GHSA-2mwc-h2mg-v6p8 (x_refsource_CONFIRM)
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.