# CVE-2022-4252: SourceCodester Canteen Management System categories.php builtin_echo 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.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-01T00:00:00.000Z
- Modified: 2026-06-17T05:20:23.890Z
- Weaknesses: CWE-707
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in SourceCodester Canteen Management System. It has been classified as problematic. This affects the function builtin_echo of the file categories.php. The manipulation 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 identifier VDB-214629 was assigned to this vulnerability.

(As written by CVE List.)

## Affected

- SourceCodester Canteen Management System: n/a
- canteen_management_system_project canteen_management_system: no versions given

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

## References

- <https://blog.csdn.net/weixin_43864034/article/details/128127288> (exploit, third-party-advisory)
- <https://vuldb.com/?id.214629> (third-party-advisory)

## Sources

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

---

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