Read the docs

Client-side template injection in Bagisto search page

Priority LOW 23CWE-1336Published · Updated

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

EPSS 0.00368 22nd percentileScored 2026-11-30
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed Bagisto (Webkul): 2.2.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
WebkulBagisto2.1.0 to before 2.2.12.2.1Patch availableCNA
  • Bagisto VendorWebkul Affected 2.1.0 to before 2.2.1 Fixed in 2.2.1 Patch available CNA

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

  1. 2026-11-18 Threatist record created from CVE-2024-58401
  2. 2026-11-18 Alias added: GHSA-wx9g-4r9w-jjcf

References

  • 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
See all 109 →

Sources