CVE-2024-58401 PUBLISHED

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

Assigner: VulnCheck
Reserved: 11.11.2026 Published: 18.11.2026 Updated: 18.11.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.1

Product Status

Vendor Webkul
Product Bagisto
Versions Default: unaffected
  • affected from 2.1.0 to 2.2.1 (excl.)

Credits

  • The Shadowserver Foundation reporter

References

Problem Types

  • Improper Neutralization of Special Elements Used in a Template Engine CWE