Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. bagisto/bagisto
  4. ›
  5. CVE-2026-21451

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

January 2, 2026 (updated January 3, 2026)

A stored Cross-Site Scripting (XSS) vulnerability exists in Bagisto 2.3.8 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.

References

  • github.com/advisories/GHSA-2mwc-h2mg-v6p8
  • github.com/bagisto/bagisto
  • github.com/bagisto/bagisto/commit/f533b1cd9c80896792da60976179c95573d78b79
  • github.com/bagisto/bagisto/releases/tag/v2.3.10
  • github.com/bagisto/bagisto/security/advisories/GHSA-2mwc-h2mg-v6p8
  • nvd.nist.gov/vuln/detail/CVE-2026-21451

Code Behaviors & Features

Detect and mitigate CVE-2026-21451 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.3.10

Fixed versions

  • 2.3.10

Solution

Upgrade to version 2.3.10 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/bagisto/bagisto/CVE-2026-21451.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 21 Jan 2026 12:17:27 +0000.