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.

Severity (CVSS 4.0)5.2Medium
Exploit odds (30 days)0.6%top 53.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Packagistbagisto/bagisto2.3.10GHSA-2mwc-h2mg-v6p8

Affected products (as reported)

VendorProductVersions
bagisto bagisto < 2.3.10

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