{"schemaVersion":3,"id":"CVE-2022-4252","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-12-01T00:00:00.000Z","modified":"2025-04-15T13:09:52.538Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.5,"severity":"low","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00439,"percentile":0.36757,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.015999999999999955,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00423},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00439,"percentile":0.36757}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00423,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00439,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00439,"percentile":0.36757}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_A501B6D35BBC6F98","name":"Exploit Reference (blog.csdn.net)","source":"reference","url":"https://blog.csdn.net/weixin_43864034/article/details/128127288","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-707","name":"Improper Neutralization","description":"The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Pillar","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/707.html"}],"affected":[{"vendor":"canteen_management_system_project","product":"canteen_management_system","name":"canteen management system","label":"canteen_management_system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/canteen_management_system_project/canteen_management_system"},{"vendor":"sourcecodester","product":"canteen management system","name":"Canteen Management System","label":"canteen management system","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"n/a","noFixRecorded":false,"fixedIn":null}],"versionsText":"n/a","eol":null,"hubHref":"/vendor/sourcecodester/canteen_management_system"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://blog.csdn.net/weixin_43864034/article/details/128127288","label":"blog.csdn.net/weixin_43864034/article/details/128127288","hostname":"blog.csdn.net","tags":["Exploit","Third Party Advisory"]},{"url":"https://vuldb.com/?id.214629","label":"vuldb.com?id.214629","hostname":"vuldb.com","tags":["Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-01T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-15T13:09:52.538Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":34,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:34:04.528Z","stale":false,"partial":false}}