Stored XSS via unencoded session username
Published Jun 28, 2026 · Updated Jun 28, 2026
Stored XSS in Yash Pokharna Restaurent Management System allows remote attackers to execute JavaScript via a crafted username. Registration stores the username without filtering, login copies it into session state, and index.php echoes it into HTML without output encoding. The attacker must register and log in with the malicious username; viewing index.php then runs the payload in that account's browser, enabling actions within its web session.
Summary
What happened
Stored XSS in Yash Pokharna Restaurent Management System allows remote attackers to execute JavaScript via a crafted username. Registration stores the username without filtering, login copies it into session state, and index.php echoes it into HTML without output encoding. The attacker must register and log in with the malicious username; viewing index.php then runs the payload in that account's browser, enabling actions within its web session.
The record
- CVE
- CVE-2026-13499
- Published
- Jun 28, 2026
- Updated
- Jun 28, 2026
- Vendor
- Yash Pokharna
- Product
- Restaurent Management System
- Classifications
- CWE-94, CWE-79, T1059.007
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 28, 2026CVE publishedPublication date reported by the CVE source.
- Jun 28, 2026Record 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=5f3eca87cb681366866a78038af17891c4c86612
- Affected versionversion=6d1cc94c9007e2373d30d9c940824a5d2f50d9b6
- Affected versionversion=b7124069da225d5be3f430eb4d8e23d294f7a14f
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.
Weakness, pattern, technique
Public exploit references
- GitHub issue #4 stored-XSS reproductionproof of concept · demonstrated
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