CVE-2026-3320
Reflected XSS in Cradle eCommerce Demo
Publication date: 2026-05-11
Last updated on: 2026-05-11
Assigner: Spanish National Cybersecurity Institute, S.A. (INCIBE)
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| cradle | ecommerce | * |
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. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue found in the latest demo version of the Cradle eCommerce platform. It occurs because user-controlled input is insecurely reflected in the HTML output at the /product/ endpoint. This means that an attacker can inject malicious JavaScript code that will be executed in the context of the victim's browser when they visit the affected page.
How can this vulnerability impact me? :
Exploitation of this vulnerability allows an attacker to execute arbitrary JavaScript code in the victim's browser. This can lead to various impacts such as theft of sensitive information (like cookies or session tokens), performing actions on behalf of the user without their consent, or redirecting the user to malicious sites. Since the vulnerability requires user interaction (UI:A), the attacker typically needs to trick the user into clicking a crafted link or visiting a malicious page.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability is a Reflected Cross-Site Scripting (XSS) issue in the /product/ endpoint of the Cradle eCommerce platform demo version, where user-controlled input is insecurely reflected in the HTML output.
To detect this vulnerability on your system, you can test the /product/ endpoint by injecting typical XSS payloads into input parameters and observing if the payload is reflected and executed in the HTML response.
- Use curl or similar tools to send requests with XSS payloads, for example: curl -i 'http://your-cradle-ecommerce-site/product/?search=<script>alert(1)</script>'
- Use a web proxy or browser developer tools to inspect the response for reflected scripts.
- Employ automated web vulnerability scanners that include XSS detection capabilities targeting the /product/ endpoint.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include sanitizing and validating all user inputs on the /product/ endpoint to prevent malicious scripts from being reflected in the HTML output.
Additionally, applying output encoding on all user-controlled data before rendering it in the HTML response can help prevent script execution.
If available, update to the latest version of the Cradle eCommerce platform where this vulnerability may have been fixed.
As a temporary measure, consider implementing Web Application Firewall (WAF) rules to block or sanitize suspicious input patterns targeting the /product/ endpoint.