Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess public registration form
-
DeliverySubmit crafted Username with XSS payload
-
ExploitPayload stored in backend database
-
ExecutionAdmin browses user list
-
PersistStored script executes in admin browser
-
ImpactLimited integrity impact achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | No authentication or account is required to submit the malicious registration (PR:N). Exploitation requires a secondary victim - specifically, a user with access to the view that renders stored usernames (most likely an administrator) must browse the affected page after the payload is submitted (UI:P per CVSS 4.0). This limits fully autonomous exploitation. The vulnerability exists in the default state of the application with no special configuration required; any publicly accessible deployment of login_register.php is a valid attack surface for payload delivery. Exploitation is limited by the necessity of victim interaction: the attacker cannot directly trigger script execution and must wait for an authorized user to render the stored payload. |
| Impact | The CVSS 4.0 score of 2.1 (vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N with E:P) is low due to required user interaction (UI:P) and constrained impact (integrity only, no confidentiality or availability). No EPSS data was provided in the source intelligence. The product is not listed in CISA KEV, so active exploitation at scale is not confirmed. However, a POC exists publicly via GitHub issue #4, which lowers the bar for exploitation by unskilled actors. The real-world risk is further constrained by the product's extremely limited deployment footprint - this is an obscure personal GitHub project, not enterprise software. For any organization actually running this system, the combination of PR:N (no registration authentication required) and an available POC warrants prompt remediation, but the population of exposed systems is almost certainly very small. |
| Exploit ScenarioDerived | An unauthenticated attacker visits the registration page of a deployed instance and submits a new account with a Username value containing a JavaScript payload such as an alert or cookie-stealing script. The payload is stored in the application's backend. When an administrator or other authenticated user browses the user management section and the tainted Username is rendered without encoding, the script executes in their browser session, potentially allowing session token theft or DOM manipulation. A POC demonstrating this flow is publicly available via GitHub issue #4. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 28, 2026
Cross-site scripting in yashpokharna2555/restaurent-management-system allows remote unauthenticated attackers to inject arbitrary client-side script via the Username argument in login_register.php's Registration Handler. The payload executes in the browser of any user who subsequently views the tainted data - most likely an administrator reviewing registered accounts. A public exploit exists per VulDB and GitHub issue #4; no public exploit identified as confirmed actively exploited (CISA KEV). The CVSS 4.0 base score of 2.1 reflects the limited scope and required victim interaction, but the availability of a POC elevates practical risk for any deployment.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project maintainer has not responded to the disclosure. Operators running this system should immediately apply HTML output encoding to the Username field in login_register.php before rendering it in any page, using PHP's htmlspecialchars() with ENT_QUOTES and the correct character encoding. As a compensating control, implement a Content Security Policy (CSP) header that prohibits inline script execution, which would substantially reduce the impact of any XSS payload - note that a strict CSP may require refactoring of inline JavaScript present elsewhere in the application. Additionally, restrict access to the user management interface to trusted networks only, reducing the pool of potential victims who could trigger the stored payload. Deploying a web application firewall (WAF) with XSS signature rules can block common payload patterns but should not be treated as a primary control. References: VulDB entry https://vuldb.com/vuln/374494 and the GitHub issue report https://github.com/yashpokharna2555/restaurent-management-system/issues/4.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is a PHP-based restaurant management system hosted on GitHub under the account yashpokharna2555 (CPE: cpe:2.3:a:yashpokharna2555:restaurent-management-system:*:*:*:*:*:*:*:*). The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting): the Registration Handler in login_register.php fails to sanitize or encode the Username parameter before persisting it or rendering it in an HTML response. This is consistent with a stored XSS pattern, where attacker-supplied input is written to a data store and later reflected into a page viewed by a privileged user. The technology stack is PHP with no confirmed framework-level output escaping in place.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Registration requires no privileges (PR:N); stored XSS crosses into victim browser context (S:C, UI:R); no availability impact and confidentiality limited to potential session exposure.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-39997
GHSA-3fgv-mx7v-rwx5
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB