CVE-2026-120597

Welcart e-Commerce Plugin paymentESCOTT.main.class.php error_page_message cross site scripting

Published Nov 2, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in Welcart e-Commerce Plugin up to 2.12.6 on WordPress. This affects the function ESCOTT_MAIN::error_page_message of the file classes/paymentESCOTT.main.class.php. Such manipulation of the argument ResponseCd leads to cross site scripting. The attack can be launched remotely. The exploit is publicly available and might be used. Upgrading to version 2.12.7 mitigates this issue. It is recommended to upgrade the affected component. The value is now escaped with esc_html() before output. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Analysis

AI-generated

Technical impact

The Welcart e‑Commerce Plugin for WordPress contains a flaw in the ESCOTT_MAIN::error_page_message function that fails to properly escape the ResponseCd parameter. By providing a crafted value for this argument, an attacker can inject arbitrary JavaScript into the error page that is rendered in the victim’s browser. The flaw is triggered remotely and does not require local or administrative access; the exploit scripts are publicly available on GitHub and other vulnerability databases.

Affected Systems

All installations of Welcart e‑Commerce Plugin on WordPress with a version of 2.12.6 or earlier are affected. The vendor lists the problematic plugin as Welcart:e‑Commerce Plugin. The advisory recommends upgrading to version 2.12.7, which applies the missing esc_html() sanitization in the response output.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.3, indicating moderate severity. EPSS information is not available, and the issue is not listed in the CISA KEV catalog, but public proofs of concept exist, so attackers could realistically exploit it. The attack vector is remote through manipulation of the ResponseCd argument, and no special privileges are needed, which amplifies the risk for all exposed systems.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Welcart e‑Commerce Plugin to version 2.12.7 or later.
  • If an upgrade cannot be performed immediately, manually edit the classes/paymentESCOTT.main.class.php file to wrap the ResponseCd output with esc_html() to neutralise untrusted input.
  • Run a cross‑site scripting scan or perform web application penetration testing to confirm that the payload can no longer execute in the context of the error page.

Generated by OpenCVE AI on November 2, 2026 at 23:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Wordpress-extensions
Wordpress-extensions e-commerce Plugin
Vendors & Products Wordpress-extensions
Wordpress-extensions e-commerce Plugin
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in Welcart e-Commerce Plugin up to 2.12.6 on WordPress. This affects the function ESCOTT_MAIN::error_page_message of the file classes/paymentESCOTT.main.class.php. Such manipulation of the argument ResponseCd leads to cross site scripting. The attack can be launched remotely. The exploit is publicly available and might be used. Upgrading to version 2.12.7 mitigates this issue. It is recommended to upgrade the affected component. The value is now escaped with esc_html() before output. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Title Welcart e-Commerce Plugin paymentESCOTT.main.class.php error_page_message cross site scripting
First Time appeared Welcart
Welcart e-commerce Plugin
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:welcart:e-commerce_plugin:*:*:*:*:*:*:*:*
Vendors & Products Welcart
Welcart e-commerce Plugin
References
Metrics cvssV2_0

{'score': 5, 'vector': 'AV:N/AC:L/Au:N/C:N/I:P/A:N/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 4.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 3, 2026, 6:33 PM
Reserved
Nov 2, 2026, 4:59 PM
Status
Deferred
Published
Nov 2, 2026, 11:17 PM
Modified
Nov 3, 2026, 7:17 PM