# CVE-2022-2683: SourceCodester Simple Food Ordering System login.php cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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): 0.68%, higher than 48% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-05T20:22:10.000Z
- Modified: 2026-06-17T04:42:22.403Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as problematic, was found in SourceCodester Simple Food Ordering System 1.0. This affects an unknown part of the file /login.php. The manipulation of the argument email/password with the input "><ScRiPt>alert(1)</sCrIpT> leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-205671.

(As written by CVE List.)

## Affected

- SourceCodester Simple Food Ordering System: 1.0
- simple_food_ordering_system_project simple_food_ordering_system: 1.0

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/anx0ing/CVE_demo/blob/main/2022/Simple%20Food%20Ordering%20System-XSS.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.205671> (third-party-advisory, vdb-entry)

## Sources

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

---

Page: https://cve.day/CVE-2022-2683 · Whole record: https://cve.day/CVE-2022-2683.json · Rebuilt by cve.day 2026-11-25T22:58:13.442Z
