← VULNERABILITIES

CVE-2024-58401

Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query

Medium · 5.1Fix available
CVSS
5.1
EPSS
0.32% (p27)
Published
2026-11-18
Age
18d old
Modified
2026-11-19
Product
Webkul Bagisto

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Description

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.

Fixed in

2.2.1

Affected packages

EcosystemPackageRangeFixed
vendorBagisto>=2.1.0, <2.2.12.2.1

Sources

  • NVD · first seen 18d ago · NVD terms of use
  • OSV · first seen 18d ago · CC-BY 4.0
  • CVE List · first seen 18d ago · CVE Terms of Use

References

JSON