Skip to main content
CVE-2025-40675VulnerabilityPublished

CVE-2025-40675: Bagisto · XSS or 'Cross-site Scripting'

Affects BagistoSource CVE Database V5

0

Not known to be exploited · CVSS 5.1 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
Bagisto BagistoAffected
  • =2.2.2
Fixed in–

AI-suggested

European organizations should implement the following specific mitigations: 1) Immediately upgrade Bagisto to a patched version once available; monitor vendor advisories closely. 2) In the interim, apply strict input validation and output encoding on the 'query' parameter in the '/search' endpoint to neutralize malicious scripts. Use context-aware encoding libraries (e.g., OWASP Java Encoder) to prevent script injection. 3) Employ Content Security Policy (CSP) headers to restrict execution of unauthorized scripts in browsers. 4) Educate users and employees about phishing risks and suspicious URLs to reduce successful exploitation via social engineering. 5) Monitor web server logs for unusual query parameter patterns indicative of attempted XSS attacks. 6) Conduct regular security assessments and penetration testing focused on web application input handling. 7) Implement multi-factor authentication to reduce impact of session hijacking. These measures go beyond generic advice by focusing on immediate protective controls and user awareness until a vendor patch is deployed.

Description

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.

References

Community reviews

Loading reviews…