# CVE-2020-23831: A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Management System v1.0 a…

- Severity: Medium 6.4 (CVSS:3.1, scored by mitre) `CVSS:3.1/AC:H/AV:N/A:L/C:H/I:L/PR:N/S:U/UI:R`
- 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): 0.84%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-09-01T16:42:18.000Z
- Modified: 2026-06-17T03:04:59.567Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

A Reflected Cross-Site Scripting (XSS) vulnerability in the index.php login-portal webpage of SourceCodester Stock Management System v1.0 allows remote attackers to harvest login credentials and session cookies when an unauthenticated victim clicks on a malicious URL and enters credentials.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- stock_management_system_project stock_management_system: 1.0

## Every score

- mitre: CVSS:3.1 6.4 Medium `CVSS:3.1/AC:H/AV:N/A:L/C:H/I:L/PR:N/S:U/UI:R`
- 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

- <https://github.com/boku7/StockManagement-XSS-Login-CredHarvester> (exploit, third-party-advisory)
- <https://packetstormsecurity.com/files/158813/Tailor-MS-1.0-Cross-Site-Scripting.html> (exploit, third-party-advisory)

## Sources

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

---

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