CVE-2024-46241: PHP_DairyFarm_XSS · Cross-site Scripting
Affects PHP_DairyFarm_XSSSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LExploitation evidence
Disclosed: evidence found.
CVE published 23 Sep 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubnpemma2/PHP_DairyFarm_XSSpkg:github/npemma2/PHP_DairyFarm_XSSOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, organizations should implement strict input validation and output encoding on the pname parameter in add_product.php and edit_product.php to prevent injection of malicious scripts. Employing context-aware escaping functions for HTML, JavaScript, and URL contexts is critical. Web application firewalls (WAFs) can provide temporary protection by filtering malicious payloads targeting these endpoints. Developers should review the source code to identify and sanitize all user inputs rigorously. Additionally, adopting Content Security Policy (CSP) headers can reduce the impact of any successful XSS exploitation by restricting script execution sources. Since no official patches are available yet, organizations should consider isolating or restricting access to the affected application modules and monitor logs for suspicious activities. Regular security assessments and user awareness training can further reduce risk. Finally, contacting the vendor or monitoring for official patches and applying them promptly once released is essential.
Description
PHPGurukul Dairy Farm Shop Management System v1.1 is vulnerable to Cross-Site Scripting (XSS) via the pname parameter in add_product.php and edit_product.php.