# CVE-2020-5308: PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to XSS, as demonstrated by the category and CategoryCode parameters in add-c…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.32%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-01-09T12:15:18.000Z
- Modified: 2026-06-17T03:21:15.107Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to XSS, as demonstrated by the category and CategoryCode parameters in add-category.php, the CompanyName parameter in add-company.php, and the ProductName parameter in add-product.php.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- phpgurukul dairy_farm_shop_management_system: 1.0

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <http://packetstormsecurity.com/files/155861/Dairy-Farm-Shop-Management-System-1.0-Cross-Site-Scripting.html> (exploit, third-party-advisory, vdb-entry)
- <https://cinzinga.github.io/CVE-2020-5307-5308/> (exploit, third-party-advisory)
- <https://phpgurukul.com/dairy-farm-shop-management-system-using-php-and-mysql/> (product)

## Sources

- CVE List: [CVE-2020-5308](https://www.cve.org/CVERecord?id=CVE-2020-5308), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-5308](https://nvd.nist.gov/vuln/detail/CVE-2020-5308), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-5308 · Whole record: https://cve.day/CVE-2020-5308.json · Rebuilt by cve.day 2026-11-25T22:57:50.499Z
