CVE-2025-40675

Source
https://cve.org/CVERecord?id=CVE-2025-40675
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40675.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-40675
Published
2025-06-09T09:42:18.409Z
Modified
2026-07-15T01:48:54.102293207Z
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
Reflected Cross-Site Scripting (XSS) in Bagisto
Details

A Reflected Cross-Site Scripting (XSS) vulnerability has been found in Bagisto v2.0.0. This vulnerability allows an attacker to execute JavaScript code in the victim's browser by sending the victim a malicious URL using the parameter 'query' in '/search'. This vulnerability can be exploited to steal sensitive user data, such as session cookies, or to perform actions on behalf of the user.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40675.json",
    "cna_assigner": "INCIBE",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.2.2"
                },
                {
                    "last_affected": "2.2.2"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/bagisto/bagisto

Affected ranges

Type
GIT
Repo
https://github.com/bagisto/bagisto
Events
Database specific
{
    "cpe": "cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.2.3"
        }
    ],
    "source": "CPE_RANGE"
}

Affected versions

v2.*
v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.2.0
v2.2.1
v2.2.2

Database specific

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