Skip to main content
CVE-2025-9845VulnerabilityPublished

CVE-2025-9845: code-projects Fruit Shop Management System · Cross Site Scripting

Affects code-projects Fruit Shop Management SystemSource 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 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Sep 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
code-projects Fruit Shop Management SystemAffected
  • =1.0
Fixed in–

AI-suggested

1. Immediate implementation of input validation and output encoding: Sanitize all user-supplied input parameters (product_code, gen_name, product_name, supplier) to neutralize malicious scripts. Use context-appropriate encoding (HTML entity encoding) before rendering data in the browser. 2. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts and reduce the impact of XSS attacks. 3. Conduct a thorough code review of products.php and related files to identify all input vectors and ensure secure coding practices are applied. 4. If possible, isolate or disable the vulnerable functionality until a patch or update is available. 5. Educate users and administrators about the risk of phishing or social engineering attacks leveraging this vulnerability. 6. Monitor web server logs for suspicious requests targeting the vulnerable parameters. 7. Engage with the vendor or community to obtain or develop an official patch or upgrade to a fixed version once available. 8. Consider deploying Web Application Firewalls (WAF) with custom rules to detect and block exploit attempts targeting this vulnerability.

Description

A vulnerability has been found in code-projects Fruit Shop Management System 1.0. Affected by this vulnerability is an unknown functionality of the file products.php. Such manipulation of the argument product_code/gen_name/product_name/supplier leads to cross site scripting. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

References

Community reviews

Loading reviews…