NetSight
medium6.1

CVE-2024-58401

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 …

Impact

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.

An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.

Affected products

VendorProductAffected versions
Bagisto
from 2.1.0 before 2.2.1
WebkulBagisto
from 2.1.0 before 2.2.1

Weakness classification

References