CVE-2024-58401

medium

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.

References

https://www.vulncheck.com/advisories/bagisto-2.1.0-before-2.2.1-client-side-template-injection-via-search-query

https://www.vulncheck.com/advisories/bagisto-2.1.0-2.2.1-client-side-template-injection-via-search-query

https://packetstorm.news/files/id/179153/

https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/bagisto-csti.yaml

https://github.com/bagisto/bagisto/commit/31234e710c81670b0025eabdc847786e19eb4f65

https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-55858

Details

Source: Mitre, NVD

Published: 2026-11-18

Updated: 2026-11-19

CVSS v3

Base Score: 6.1

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

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

Severity: Medium

EPSS

EPSS: 0.00324