Skip to content
FlawDB
Sign in

CVE-2024-58401

MEDIUM 5.1PoCEPSS 23%

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

Mitigation

  • Upgrade Bagisto to 2.2.1 or later.

Who should check

  • Anyone running Webkul Bagisto >= 2.1.0, < 2.2.1

Vulnerability facts

Affected
Webkul Bagisto >= 2.1.0, < 2.2.1
Fixed in
Webkul Bagisto 2.2.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
5.1 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: Active
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: Low
  • Integrity impact on other systems: Low
  • Availability impact on other systems: None
EPSS
0.37% chance of exploitation in 30 days (percentile 23, 2026-11-28)
CWE
CWE-1336
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Webkul Bagisto>= 2.1.0, < 2.2.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-58401. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-58401.md
Affected: Webkul Bagisto >= 2.1.0, < 2.2.1
Fixed in: Webkul Bagisto 2.2.1

Steps:
1. Search this machine and project for Webkul Bagisto: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-58401 being exploited?

There is no confirmed exploitation: CVE-2024-58401 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2024-58401?

Medium: CVSS 5.1 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2024-58401?

Webkul Bagisto >= 2.1.0, < 2.2.1.

Is there a fix for CVE-2024-58401?

Yes. Fixed in Webkul Bagisto 2.2.1. Upgrade Bagisto to 2.2.1 or later.

How do I check if I'm affected by CVE-2024-58401?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

See all
Vulnerabilities, newest first
SeverityIdentifier / vulnerabilityTechnologySignalsAge
MEDIUM 6.9CVE-2026-134735

Webkul Bagisto Payu Payment Gateway PayUController.php success data authenticity

Webkul
EPSS 9%
MEDIUM 6.9CVE-2026-134734

Webkul Bagisto Payment Gateway Success/Callback Controllers RazorpayController.php paymentSuccess data authenticity

Webkul
EPSS 9%
LOW 2.0CVE-2026-133479

WebKul QloApps Archive Import AdminModulesController.php installTheme path traversal

WebKul
PoCEPSS 41%
Sponsors