Reflected Cross-Site Scripting (XSS) in Bagisto
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-40675
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 6 Nov 2026, 01:27 UTC · Revision 1
Source evidence
Reflected Cross-Site Scripting (XSS) in Bagisto
core-osv · Original sourcePublished 9 Jun 2025, 09:42 UTC
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.
osv:CVE-2025-40675
Complete source record
{
"id": "38e7c6ea804bf5ccdd30710d8728d258c2aa8732e0c7587550d6c24287340a07",
"url": "https://osv.dev/vulnerability/CVE-2025-40675",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Reflected Cross-Site Scripting (XSS) in Bagisto",
"summary": "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.",
"evidence": "osv:CVE-2025-40675",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-40675",
"aliases": [
"CVE-2025-40675"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bagisto/bagisto",
"type": "GIT",
"events": [
{
"introduced": "3230ec24eec97cf40e874552b2be0d127047e298"
},
{
"fixed": "7f19d54eaf0af8e0971e0ba153896b5a802defb2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:webkul:bagisto:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.2.3"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.2.2",
"v2.2.1",
"v2.2.0",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40675.json"
}
}
],
"modified": "2026-10-28T02:30:45.625395038Z",
"provider": "osv",
"references": [
"https://www.incibe.es/en/incibe-cert/notices/aviso/reflected-cross-site-scripting-xss-bagisto",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40675.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40675"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "INCIBE",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.2.2"
},
{
"last_affected": "2.2.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40675.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40675",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 513855,
"published_at": "2025-06-09T09:42:18.409+00:00"
}