CVE-2024-58401

Source
https://cve.org/CVERecord?id=CVE-2024-58401
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58401.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-58401
Published
2026-11-18T15:34:58Z
Modified
2026-11-18T17:45:57Z
Severity
  • 5.1 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Bagisto 2.1.0 < 2.2.1 Client-Side Template Injection via search query
Details

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.

Database specific
{
    "cna_assigner":  "VulnCheck",
    "cwe_ids":  [
        "CWE-1336"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58401.json"
}
References

Affected packages

Git / github.com/bagisto/bagisto

Affected ranges

Type
GIT
Repo
https://github.com/bagisto/bagisto
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "2.1.0"
                },
                {
                    "fixed":  "2.2.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "31234e710c81670b0025eabdc847786e19eb4f65"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v2.*
v2.1.0
v2.1.1
v2.1.2
v2.2.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58401.json"