Client-side template injection in Bagisto search page
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Active
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
Webkul Bagisto from 2.1.0 before 2.2.1 has a client-side template injection flaw (CWE-1336). The unescaped 'query' search parameter is rendered in a Vue app root, so input runs as template expressions. An unauthenticated remote attacker can run arbitrary JavaScript in a victim's browser. The Shadowserver Foundation first observed exploitation on 2024-07-30, and a public exploit is linked in the references.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
Bagisto 2.1.0 before 2.2.1 contains a client-side template injection vulnerability in the search page where the 'query' parameter is rendered unescaped inside a Vue app root. Unauthenticated attackers can send crafted VueJS template expressions to the /bagisto-common/search endpoint via the 'query' parameter to execute arbitrary JavaScript in victims' browsers. Exploitation evidence was first observed by the Shadowserver Foundation on 2024-07-30.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Upgrade Bagisto to version 2.2.1, the fixed version for this flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
- Fix · CNA Bagisto (Webkul) Fixed in 2.2.1
Timeline
- 2026-11-18 Threatist record created from CVE-2024-58401
- 2026-11-18 Alias added: GHSA-wx9g-4r9w-jjcf
References
More Webkul vulnerabilities
- TI-2025-41192 Unrestricted file upload in the hotel review feature in QloApps versions 1.7.0 and… CVSS 3.1CRITICAL 9.8
- TI-2017-14326 Joomla! Component Ajax Quiz 1.8 SQL Injection CVSS 4.0HIGH 8.8
- TI-2026-17332 Bagisto has Normal & Blind SSTI from low-privilege user when ordering product CVSS 4.0HIGH 8.9
- TI-2023-16589 Bagisto v1.5.1 is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1HIGH 8.8
- TI-2026-56886 UnoPim File Upload RCE via TinyMCE Image Upload Endpoint CVSS 4.0HIGH 8.6
- TI-2026-52873 Webkul QloApps SQL injection CVSS 4.0HIGH 8.6
Sources
- CVE-2024-58401 · CVE Program
- CVE-2024-58401 · NVD
- FIRST EPSS
- GHSA-wx9g-4r9w-jjcf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences