CVE-2026-13499: Reflected XSS in yashpokharna2555 Restaurant Management System
A reflected cross-site scripting (XSS) vulnerability exists in the yashpokharna2555 restaurant-management-system, specifically in the registration handler component. An attacker can inject malicious code through the Username field in login_register.php. When a user visits a crafted link, the injected script executes in their browser, allowing the attacker to steal session cookies, redirect users, or perform actions on their behalf. The vulnerability requires user interaction (clicking a malicious link) but can be exploited remotely without authentication.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-79, CWE-94
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-28 / 2026-06-29
NVD description (verbatim)
A security flaw has been discovered in yashpokharna2555 restaurent-management-system. This impacts an unknown function of the file login_register.php of the component Registration Handler. Performing a manipulation of the argument Username results in cross site scripting. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks. This product uses a rolling release model to deliver continuous updates. As a result, specific version information for affected or updated releases is not available. The project was informed of the problem early through an issue report but has not responded yet.
6 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-13499 is a reflected XSS flaw in the Registration Handler of login_register.php within the yashpokharna2555 restaurant-management-system. The Username parameter fails to properly sanitize or encode user input before rendering it in the response. This permits an attacker to inject arbitrary JavaScript that executes in the victim's browser context. The CVSS v3.1 score of 4.3 (MEDIUM) reflects the network-accessible attack vector, low attack complexity, and lack of privileges required, moderated by the requirement for user interaction and limited impact scope (integrity only, no confidentiality or availability impact).
Business impact
Compromised user accounts and unauthorized actions within the restaurant management system pose operational risks. An attacker could deface the application, redirect users to phishing sites, or harvest credentials from staff. For a restaurant chain using this system, malicious redirects could damage customer trust and brand reputation. Regulatory exposure exists if user data is exposed during XSS exploitation, particularly if the system handles payment information or personal identifiers.
Affected systems
The vulnerability affects yashpokharna2555 restaurant-management-system. The project operates under a rolling release model, so specific version numbers are not available in the advisory. Any deployment of this restaurant management system with the vulnerable login_register.php component is at risk. Identify instances by checking for the presence and behavior of the registration handler with unencoded Username field output.
Exploitability
Public exploit code is available, lowering the barrier to weaponization. The attack is straightforward: craft a malicious URL with embedded JavaScript in the Username parameter and socially engineer a user to click it. No authentication, special network position, or complex setup is required. The reliance on user interaction (UI:R) prevents fully automatic exploitation at scale, but phishing campaigns or malicious advertisements can be effective vectors. Given public disclosure and low attack complexity, opportunistic exploitation is likely.
Remediation
The development team should implement proper input validation and output encoding for the Username parameter. Use context-appropriate encoding (HTML entity encoding for HTML context, JavaScript encoding for script context) before rendering any user-supplied data. Adopt a Content Security Policy (CSP) to restrict inline script execution. Input validation should whitelist acceptable characters for usernames and reject or sanitize anything else. The vendor has not yet responded to the early notification; affected organizations should monitor for updates or consider implementing a Web Application Firewall (WAF) rule to block malicious payloads in the Username field.
Patch guidance
The vendor has not released a patch or acknowledged the vulnerability as of the latest update. Organizations relying on this restaurant-management-system should contact the maintainer for a timeline. In the interim, implement compensating controls: deploy a WAF to sanitize Username input, restrict access to the registration endpoint to trusted networks if possible, and educate users not to click registration links from untrusted sources. Consider code review or patching the login_register.php file locally if you maintain a fork of the project.
Detection guidance
Monitor web server logs for suspicious patterns in the Username parameter, such as script tags (<script), event handlers (onclick, onerror), or encoded payloads (%3c, %22). Implement browser-based detection through Content Security Policy violation reports to identify when unauthorized scripts attempt to execute. Intrusion detection rules should flag requests to login_register.php with payloads typical of XSS (angle brackets, quotes, common event handlers). User behavior analytics may reveal accounts performing unusual actions after visiting the registration page. Testing the registration form with simple XSS payloads (e.g., Username=<img src=x onerror=alert(1)>) will confirm the vulnerability in your deployment.
Why prioritize this
While the CVSS score is MEDIUM (4.3), the combination of public exploit availability, low attack complexity, and remote accessibility elevates practical risk. The lack of vendor response increases pressure to remediate independently. However, the requirement for user interaction and limited direct impact (integrity only) mean this is not critical in isolation. Prioritize based on exposure: if your restaurant management system is internet-facing or accessible to untrusted users, elevate urgency. If it is internal-only, medium-term remediation is acceptable.
Risk score, explained
The CVSS v3.1 score of 4.3 (MEDIUM) reflects a network-accessible attack with low complexity and no privileges required, balanced against the user interaction prerequisite and confined impact scope (no confidentiality breach, no availability impact). In the real world, public exploits and social engineering amplify effective risk. The rolling release model and lack of vendor response mean affected organizations cannot rely on timely patches, shifting responsibility to defensive measures.
Frequently asked questions
Can this vulnerability be exploited without user interaction?
No. The attacker must trick a user into clicking a malicious link or visiting a crafted page. This user interaction requirement (UI:R in the CVSS vector) prevents fully automated attacks, but phishing emails, malicious ads, and social engineering make exploitation feasible at scale.
Does this vulnerability allow remote code execution or data theft on the server?
No. This is a reflected XSS flaw that executes in the user's browser, not on the server. An attacker can steal session cookies, perform actions as the victim, or redirect them to phishing sites. Server-side data is not directly exposed unless the victim's session grants access to it.
How do I know if my restaurant management system is vulnerable?
Test the registration form by entering a simple payload like <img src=x onerror=alert(1)> in the Username field. If a JavaScript alert appears, your system is vulnerable. Additionally, inspect the HTML source of the registration page; if the Username value is rendered without HTML encoding, it is likely vulnerable.
The vendor hasn't patched yet. What should I do now?
Deploy a Web Application Firewall rule to block requests with script tags and event handlers in the Username parameter. Restrict registration access to trusted users if possible. Educate staff not to click registration links from untrusted sources. Monitor logs for exploitation attempts. Contact the maintainer for a patch timeline, and consider contributing a fix if your organization maintains a fork.
This analysis is based on the CVE record published on 2026-06-28 and modified on 2026-06-29. Specific version information is unavailable due to the vendor's rolling release model. No official patch has been released at the time of writing. Organizations should verify current vendor advisories and patch status before implementing fixes. This assessment does not constitute professional security advice; consult your internal security team and the vendor for authoritative guidance. Proof-of-concept exploitation details are intentionally omitted to avoid enabling malicious use. Source: NVD (public-domain), retrieved 2026-08-07. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10153MEDIUMCross-Site Scripting in westboy CicadasCMS Search Function
- CVE-2026-10173MEDIUMCross-Site Scripting in Orthanc Explorer 2 – Patch Guidance & Detection
- CVE-2026-10289MEDIUMXSS Vulnerability in Hotel and Tourism Reservation System 1.0
- CVE-2026-10301MEDIUMReflected XSS in itsourcecode Fees Management System 1.0 – Exploit Public
- CVE-2026-10810MEDIUMCross-Site Scripting in itsourcecode Fees Management System v1.0
- CVE-2026-11337MEDIUMReflected XSS in tittuvarghese CollegeManagementSystem – Risk Analysis & Remediation
- CVE-2026-11436MEDIUMReflected XSS in Mage AI Sign-In Flow (v0.9.79 and Earlier)
- CVE-2026-11512MEDIUMXSS in itsourcecode Hospital Management System 1.0 Billing Module