# CVE-2026-21451: Bagisto has HTML Filter Bypass that Enables Stored XSS

- Severity: Medium 5.2 (CVSS:4.0, scored by GitHub_M) `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`
- 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.56%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-02T20:37:06.795Z
- Modified: 2026-06-17T10:18:41.790Z
- Also known as: GHSA-2mwc-h2mg-v6p8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- bagisto bagisto: < 2.3.10
- bagisto/bagisto (Packagist): before 2.3.10
- webkul bagisto: before 2.3.10

## Every score

- GitHub_M: CVSS:4.0 5.2 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 8.4 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`

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

## Sources

- CVE List: [CVE-2026-21451](https://www.cve.org/CVERecord?id=CVE-2026-21451), CVE Terms of Use, modified 2026-01-02
- GitHub Advisory Database: [GHSA-2mwc-h2mg-v6p8](https://github.com/advisories/GHSA-2mwc-h2mg-v6p8), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-21451](https://nvd.nist.gov/vuln/detail/CVE-2026-21451), Public domain, modified 2026-06-17

---

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