# CVE-2024-58401: Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-11-18T15:34:58.732Z
- Modified: 2026-11-19T21:45:05.007Z
- Weaknesses: CWE-1336
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Webkul Bagisto: from 2.1.0 before 2.2.1

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://packetstorm.news/files/id/179153/> (exploit)
- <https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/bagisto-csti.yaml> (exploit, technical-description)
- <https://github.com/bagisto/bagisto/commit/31234e710c81670b0025eabdc847786e19eb4f65> (issue-tracking, patch)
- <https://www.vulncheck.com/advisories/bagisto-2.1.0-before-2.2.1-client-side-template-injection-via-search-query> (third-party-advisory)
- <https://www.vulncheck.com/advisories/bagisto-2.1.0-2.2.1-client-side-template-injection-via-search-query> (third-party-advisory)

## Sources

- CVE List: [CVE-2024-58401](https://www.cve.org/CVERecord?id=CVE-2024-58401), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2024-58401](https://nvd.nist.gov/vuln/detail/CVE-2024-58401), Public domain, modified 2026-11-19

---

Page: https://cve.day/CVE-2024-58401 · Whole record: https://cve.day/CVE-2024-58401.json · Rebuilt by cve.day 2026-11-25T22:58:53.103Z
