{"id":"CVE-2024-58401","aliases":["CVE-2024-58401"],"related":[],"kind":"vulnerability","state":"published","title":"Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-18T15:34:58.732Z","modified":"2026-11-19T21:45:05.007Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":5.1,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-1336"],"affected":[{"ranges":[{"type":"custom","introduced":"2.1.0","fixed":"2.2.1","status":"affected"}],"vendor":"Webkul","product":"Bagisto","source":"cvelist"}],"references":[{"url":"https://packetstorm.news/files/id/179153/","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/bagisto/bagisto/commit/31234e710c81670b0025eabdc847786e19eb4f65","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/bagisto-csti.yaml","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/bagisto-2.1.0-before-2.2.1-client-side-template-injection-via-search-query","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/bagisto-2.1.0-2.2.1-client-side-template-injection-via-search-query","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["The Shadowserver Foundation"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-18T16:28:26.806Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-58401","url":"https://www.cve.org/CVERecord?id=CVE-2024-58401","licence":"CVE Terms of Use","modified":"2026-11-18T16:28:43.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-58401","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58401","licence":"Public domain","modified":"2026-11-19T21:45:05.007Z"}],"updatedAt":"2026-11-25T22:58:53.103Z","epss":{"score":0.00324,"percentile":0.27425,"date":"2026-12-01T12:00:22.000Z"}}