Skip to main content
CVE-2024-46241VulnerabilityPublished

CVE-2024-46241: PHP_DairyFarm_XSS · n/a

Affects PHP_DairyFarm_XSSSource CVE Database V5

0

Not known to be exploited · CVSS 5.9 Medium.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Sep 2024

  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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubnpemma2/PHP_DairyFarm_XSSpkg:github/npemma2/PHP_DairyFarm_XSSOther threatsAffected
  • =1.1
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.

References

Community reviews

Loading reviews…