Authenticated browser script execution via unneutralized product_name
Published Nov 25, 2022 · Updated Apr 15, 2025
Cross-site scripting in food.php in SourceCodester Canteen Management System allows remote authenticated users to inject script via product_name. The query function processes product_name without neutralizing browser-interpreted input, causing the value to execute in the returned page. A low-privileged session and victim interaction are required; successful exploitation changes content in the victim's browser without affecting availability.
Summary
What happened
Cross-site scripting in food.php in SourceCodester Canteen Management System allows remote authenticated users to inject script via product_name. The query function processes product_name without neutralizing browser-interpreted input, causing the value to execute in the returned page. A low-privileged session and victim interaction are required; successful exploitation changes content in the victim's browser without affecting availability.
The record
- CVE
- CVE-2022-4091
- Published
- Nov 25, 2022
- Updated
- Apr 15, 2025
- Vendor
- Online Movie Ticket Booking System
- Product
- Canteen Management System
- Classifications
- CWE-707, T1203
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 25, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=n/a
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- CVE-2022-4091 product_name cross-site scripting proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo