CVE-2026-5835
Cross-Site Scripting in Online Shoe Store /admin_football.php
Publication date: 2026-04-09
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| code-projects | online_shoe_store | 1.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-5835 is a Cross-Site Scripting (XSS) vulnerability found in version 1.0 of the Online Shoe Store project, specifically in the file /admin/admin_football.php.
The vulnerability occurs because the application directly outputs user-supplied input from the product_name parameter to the web page without proper encoding or filtering.
This lack of input validation and output encoding allows attackers to inject and execute arbitrary JavaScript code in the victimβs browser.
Exploitation requires no authentication or authorization, meaning an attacker can remotely launch the attack by crafting a malicious payload that executes in the context of the victimβs browser.
How can this vulnerability impact me? :
Exploiting this vulnerability can lead to theft of cookies, session tokens, or other sensitive information.
Attackers can perform unauthorized actions on behalf of the victim, deface web pages, redirect users to malicious sites, and potentially gain full control over the victimβs browser.
This severely compromises user privacy and system security.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the /admin/admin_football.php page for improper handling of the product_name parameter. Specifically, you can attempt to inject a simple XSS payload such as <script>prompt(/xss/);</script> into the product_name parameter and observe if it executes in the browser.
You can use tools like curl or wget to send crafted requests and check the response for unencoded script tags. For example, a curl command to test might be:
- curl -G --data-urlencode "product_name=<script>prompt('xss')</script>" https://your-online-shoe-store.com/admin/admin_football.php
If the response contains the injected script without proper encoding or escaping, the vulnerability is present.
Additionally, automated web vulnerability scanners that test for reflected XSS vulnerabilities can be used to detect this issue.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include:
- Implement proper output encoding for the product_name parameter based on the context (HTML, JavaScript, CSS, URL) to ensure user input is treated as text and not executable code.
- Enforce strict input validation and filtering to allow only expected formats and reject or escape potentially malicious content such as script tags.
- Deploy a strict Content Security Policy (CSP) to restrict execution of unauthorized inline or external scripts.
- Set the HttpOnly and Secure flags on sensitive cookies to prevent JavaScript access and ensure cookies are transmitted only over HTTPS.
- Conduct regular security audits and code reviews to detect and remediate XSS and other vulnerabilities promptly.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The Cross-Site Scripting (XSS) vulnerability in the Online Shoe Store project can lead to theft of cookies, session tokens, and other sensitive information, as well as unauthorized actions on behalf of users. Such security breaches can compromise user privacy and data protection.
This kind of vulnerability may negatively impact compliance with data protection regulations like GDPR and HIPAA, which require organizations to protect personal data and ensure system security to prevent unauthorized access or disclosure.
Failure to remediate this vulnerability could result in violations of these standards due to inadequate protection of user data and potential exposure of sensitive information.