Client-Side Template Injection Vulnerability in Bagisto by Bagisto
CVE-2024-58401

5.1MEDIUM

Key Information:

Vendor

Webkul

Status
Vendor
CVE Published:
18 November 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2024-58401?

A client-side template injection vulnerability exists in Bagisto versions 2.1.0 prior to 2.2.1. This flaw allows unauthenticated attackers to manipulate the 'query' parameter on the search page, which is rendered unescaped in the Vue.js application. By sending specially crafted VueJS template expressions to the /bagisto-common/search endpoint, attackers can execute arbitrary JavaScript in the browsers of unsuspecting users. This vulnerability poses significant security risks and was first identified by the Shadowserver Foundation on July 30, 2024.

Affected Version(s)

Bagisto 2.1.0 < 2.2.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

The Shadowserver Foundation
.