CVE-2025-13202 Details
Description
A security flaw has been discovered in code-projects Simple Cafe Ordering System 1.0. This affects an unknown part of the file /add_to_cart. Performing manipulation of the argument product_name results in cross site scripting. It is possible to initiate the attack remotely. The exploit has been released to the public and may be exploited.
A reflected cross-site scripting vulnerability has been identified in Code-Projects Simple Cafe Ordering System version 1.0. The issue arises in the '/add_to_cart' file, where the 'product_name' argument can be manipulated to inject malicious scripts. This vulnerability can be exploited remotely, and a public exploit is available.
It is recommended to sanitize output by using functions like 'htmlspecialchars()' to encode user-controlled input before rendering it on the page. Implement input validation to restrict allowed characters and patterns, particularly in critical fields such as product names. Applying a strict Content Security Policy can also help prevent the execution of unauthorized scripts. Ensure that dynamic content is always sanitized before display, and set proper HTTP headers to enhance security.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/shenxianyuguitian/cafeorder_vuln_XSS/blob/main/README.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.332500 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.332500 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.685729 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fabian simple cafe ordering system | 1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Nov 19, 2025 | Initial Analysis | [email protected] |
| Nov 15, 2025 | New CVE Received | [email protected] |