CVE-2026-5647
Cross-Site Scripting in Online Shoe Store Add Product Page
Publication date: 2026-04-06
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
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-5647 is a Cross-Site Scripting (XSS) vulnerability found in version 1.0 of the Online Shoe Store project, specifically in the file /admin/admin_feature.php. The vulnerability occurs because the application directly outputs user-supplied input from the product_name parameter 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.
For example, an attacker can inject a payload like <script>prompt(/xss/);</script> into the product_name parameter, which will execute JavaScript code in the victim's browser.
How can this vulnerability impact me? :
This vulnerability can have severe impacts including:
- Attackers can steal sensitive information such as cookies and session tokens.
- Attackers can perform unauthorized actions on behalf of the victim.
- Web pages can be defaced or altered maliciously.
- Users can be redirected to malicious websites.
- Attackers may gain control over the victimβs browser.
Notably, exploitation does not require any login or authorization, making it easier for attackers to exploit.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by testing the input handling of the product_name parameter in the /admin/admin_feature.php page for cross-site scripting (XSS) issues.
A common method is to inject a proof-of-concept XSS payload such as <script>prompt(/xss/);</script> into the product_name parameter and observe if the script executes in the browser.
For automated detection, you can use web vulnerability scanners that test for XSS vulnerabilities by injecting various payloads into input fields.
Example manual command using curl to test the vulnerability might be:
- curl -G --data-urlencode "product_name=<script>prompt(/xss/);</script>" https://yourserver/admin/admin_feature.php
Then check the response in a browser or inspect the HTML output to see if the script is executed or reflected without encoding.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps for this XSS vulnerability include:
- Implement proper output encoding for the product_name parameter before rendering it on the web page, using context-appropriate encoding methods.
- Enforce strict input validation and filtering to allow only expected input formats and reject or escape potentially malicious content such as script tags.
- Apply a strict Content Security Policy (CSP) to restrict sources of executable scripts and block unauthorized inline and external scripts.
- Set 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 fix 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 1.0 allows attackers to steal sensitive information such as cookies and session tokens, perform unauthorized actions, and potentially compromise user data.
Such unauthorized access and potential data breaches can lead to non-compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data.
Failure to remediate this vulnerability promptly may result in violations of data protection requirements, exposing the organization to legal and regulatory penalties.