Vulnerability DatabaseCVE-2026-120491

CVE-2026-120491: 
Wing FTP Server vulnerability analysis and mitigation

Overview

CVE-2026-120491 is a stored cross-site scripting (XSS) vulnerability in Wing FTP Server before version 8.2.6. Authenticated web-client users can inject malicious script by sending a crafted nowpath parameter to the webclient/makethumb.html endpoint, breaking out of a CDATA section in admin_get_lastconn.html XML to forge a connection ID. The injected script executes in administrators' browsers when admin_connection_list.html auto-refreshes, potentially enabling Lua console abuse. It carries a CVSS v3.1 base score of 5.4 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (GitHub Advisory, Feedly).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting). The root cause is insufficient sanitization of the nowpath query parameter in webclient/makethumb.html, which allows an attacker to inject a CDATA-breakout payload of the form ]]></directory></connection><connection><id><![CDATA[<malicious payload>]]></id><directory><![CDATA[ into the XML structure returned by admin_get_lastconn.html. This forged connection entry is then rendered in the administrator's browser via the auto-refreshing admin_connection_list.html page, executing the injected JavaScript. A public PoC (Python script poc.py) is available on GitHub that demonstrates the injection primitive, though it only sets a benign marker variable rather than completing a full attack chain (GitHub Advisory, PoC GitHub).

Impact

Successful exploitation allows a low-privileged, authenticated web-client user to execute arbitrary JavaScript in the context of an administrator's browser session. The primary risk is abuse of the Wing FTP Server's Lua console — accessible to administrators — which could enable execution of arbitrary server-side commands, configuration changes, or further privilege escalation. While direct confidentiality and integrity impacts on the vulnerable system itself are limited, the subsequent system impact includes low-level confidentiality and integrity compromise of administrator-controlled resources (GitHub Advisory, Feedly).

Exploitability

A public proof-of-concept exploit (Python script) is available on GitHub, published on November 6, 2026, and assessed with high confidence as a real PoC (PoC GitHub). The PoC demonstrates the stored XSS injection primitive but does not complete the full Lua console abuse chain. There is currently no evidence of in-the-wild exploitation, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is approximately 0.176%, indicating a low near-term exploitation probability (GitHub Advisory, Feedly).

Exploitation steps

  1. Reconnaissance: Identify Wing FTP Server instances running versions prior to 8.2.6 that expose the web client interface over HTTP/HTTPS. Confirm the target version (e.g., 8.2.5) is vulnerable.
  2. Obtain web-client credentials: Acquire valid low-privileged web-client user credentials or an existing UID session cookie for the target Wing FTP Server instance.
  3. Authenticate: POST the username and password to loginok.html to establish a session and obtain a UID cookie, or load a pre-existing cookie from file.
  4. Craft the CDATA-breakout payload: Construct a malicious nowpath value that breaks out of the XML CDATA section, e.g.: ]]></directory></connection><connection><id><![CDATA[<img src=x onerror=payload>]]></id><directory><![CDATA[
  5. Send the crafted request: Issue a GET request to webclient/makethumb.html?filename=no-such-thumbnail.png&nowpath=<crafted_payload> with a Referer header pointing to main.html, injecting the forged connection entry into the server's stored XML.
  6. Wait for administrator auto-refresh: The injected entry persists server-side; when an administrator views admin_connection_list.html (which auto-refreshes), the forged connection ID containing the JavaScript payload is rendered and executed in their browser.
  7. Abuse Lua console: With JavaScript executing in the administrator's browser context, craft follow-on actions to interact with the Lua console (e.g., via XHR requests), enabling arbitrary server-side command execution or configuration changes.
  8. Clean up: Optionally log out of the disposable web-client session to reduce forensic traces (PoC GitHub, GitHub Advisory).

Indicators of compromise

  • Network: Unusual GET requests to webclient/makethumb.html containing CDATA-breakout sequences (]]>) or XML-like structures in the nowpath parameter; unexpected outbound connections from the Wing FTP Server process following administrator page access.
  • Logs: Wing FTP Server web access logs showing requests to makethumb.html with anomalous nowpath values containing </directory>, </connection>, or <![CDATA[ substrings; repeated or automated requests to admin_get_lastconn.html or admin_connection_list.html.
  • File System: Unexpected scripts or files created in Wing FTP Server directories if Lua console abuse results in file writes.
  • Process: Unusual child processes spawned by the Wing FTP Server process following administrator activity on the connection list page, potentially indicating Lua console command execution (PoC GitHub, Feedly).

Mitigation and workarounds

Upgrade Wing FTP Server to version 8.2.6 or later, which resolves this stored XSS vulnerability (Wing FTP Changelog, GitHub Advisory). As interim mitigations, restrict web-client user access to trusted accounts only, and implement Content Security Policy (CSP) headers on the Wing FTP Server web interface to reduce XSS impact. Monitor the Lua console for suspicious activity and limit administrator exposure to the connection list page until patching is complete (Feedly).

Community reactions

The vulnerability was assigned and disclosed by VulnCheck, with the advisory published on November 2, 2026. A Bluesky post referencing the CVE was observed shortly after disclosure. No significant vendor statements beyond the patch release or notable researcher commentary beyond the PoC publication have been identified at this time (GitHub Advisory, VulnCheck Advisory).

Additional resources


Source: This report was generated using AI

Related Wing FTP Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-133310CRITICAL9.2
  • Wing FTP Server logoWing FTP Server
  • cpe:2.3:a:wftpserver:wing_ftp_server
NoYesNov 19, 2026
CVE-2026-44403HIGH8.6
  • Wing FTP Server logoWing FTP Server
  • cpe:2.3:a:wftpserver:wing_ftp_server
NoYesMay 12, 2026
CVE-2019-25267HIGH8.5
  • Wing FTP Server logoWing FTP Server
  • cpe:2.3:a:wftpserver:wing_ftp_server
NoYesFeb 05, 2026
CVE-2026-120491MEDIUM5.1
  • Wing FTP Server logoWing FTP Server
  • cpe:2.3:a:wftpserver:wing_ftp_server
NoYesNov 02, 2026
CVE-2020-37079MEDIUM5.1
  • Wing FTP Server logoWing FTP Server
  • cpe:2.3:a:wftpserver:wing_ftp_server
NoYesFeb 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management