{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-58401","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-11T16:45:18.381Z","datePublished":"2026-11-18T15:34:58.732Z","dateUpdated":"2026-11-18T16:28:43.640Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-18T15:34:58.732Z"},"datePublic":"2024-06-18T00:00:00.000Z","title":"Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query","descriptions":[{"lang":"en","value":"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."}],"tags":["unsupported-when-assigned","x_known-exploited-vulnerability"],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improper Neutralization of Special Elements Used in a Template Engine","cweId":"CWE-1336","type":"CWE"}]}],"affected":[{"defaultStatus":"unaffected","vendor":"Webkul","product":"Bagisto","versions":[{"status":"affected","versionType":"custom","version":"2.1.0","lessThan":"2.2.1"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*","versionStartIncluding":"2.1.0","versionEndExcluding":"2.2.1"}]}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","subIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":5.1,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","version":"3.1","baseSeverity":"MEDIUM","baseScore":6.1,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}}],"references":[{"url":"https://packetstorm.news/files/id/179153/","name":"Packet Storm 179153","tags":["exploit"]},{"url":"https://github.com/bagisto/bagisto/commit/31234e710c81670b0025eabdc847786e19eb4f65","name":"Fix Commit","tags":["patch","issue-tracking"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/bagisto-csti.yaml","name":"Nuclei Template","tags":["technical-description"]},{"name":"VulnCheck Advisory: Bagisto 2.1.0 before 2.2.1 Client-Side Template Injection via search query","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/bagisto-2.1.0-before-2.2.1-client-side-template-injection-via-search-query"},{"name":"VulnCheck Advisory: Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/bagisto-2.1.0-2.2.1-client-side-template-injection-via-search-query"}],"credits":[{"lang":"en","value":"The Shadowserver Foundation","type":"reporter"}],"x_generator":{"engine":"vulncheck-kclub"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-18T16:28:26.806337Z","id":"CVE-2024-58401","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-18T16:28:43.640Z"}}]}}