Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Medium

Reflected XSS in Citrix NetScaler ADC and NetScaler Gateway SAML logout handling

IdentifiersCVE-2025-12101CWE-79· Improper Neutralization of Input…

CVE-2025-12101 is a reflected cross-site scripting vulnerability in Citrix NetScaler ADC and NetScaler Gateway when the appliance is configured as a Gateway (including VPN virtual server, ICA Proxy, CVPN, or RDP Proxy) or as an AAA virtual server. Available reporting indicates the issue is in SAML response handling associated with the /cgi/logout endpoint, where crafted POST requests containing malicious SAMLResponse and RelayState parameters can be reflected back to the client. This allows attacker-controlled script content to be injected into the browser context of a victim interacting with the affected appliance. Supporting reporting also states the same input handling can be abused for open redirect behavior. Affected versions include NetScaler ADC/Gateway 14.1 before 14.1-56.73, 13.1 before 13.1-60.32, NetScaler ADC 13.1-FIPS/NDcPP before 13.1-37.250-FIPS/NDcPP, and 12.1-FIPS/NDcPP before 12.1-55.333-FIPS/NDcPP.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can cause arbitrary JavaScript execution in the victim's browser in the security context of the NetScaler interface, enabling session theft, credential harvesting, phishing, UI redressing, or other client-side actions against authenticated users. Reported open redirect behavior can also be used to send users to attacker-controlled destinations, increasing phishing and credential theft risk. Based on the available information, the primary impact is client-side compromise of users interacting with the affected Gateway or AAA interface rather than direct server-side code execution on the appliance.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, reduce exposure of affected Gateway and AAA virtual servers to untrusted users where operationally feasible, especially externally accessible SAML-enabled authentication and logout workflows. Monitor and filter suspicious POST requests to /cgi/logout containing unexpected or attacker-controlled SAMLResponse or RelayState values, and review logs for anomalous redirects or reflected payloads. User awareness and anti-phishing controls may reduce exploitation success, but no complete mitigation is established in the provided content aside from applying Citrix's fixes.

Remediation

Patch, then assume compromise.

Upgrade affected Citrix NetScaler ADC and NetScaler Gateway deployments to a fixed build. Reported fixed versions are 14.1-56.73 or later for the 14.1 branch, 13.1-60.32 or later for the 13.1 branch, 13.1-37.250-FIPS/NDcPP or later for 13.1-FIPS/NDcPP, and 12.1-55.333-FIPS/NDcPP or later for 12.1-FIPS/NDcPP. Organizations should follow the Citrix security bulletin for CVE-2025-12101 and apply vendor-recommended updates across all affected appliances.
PUBLIC EXPLOITS

Exploits

No valid public exploits. Mallory filtered out 2 candidates as fakes, detection scripts, or README-only repos.

VALID 0 / 2 TOTALView more in app

All candidate exploits were filtered out by Mallory's validation.

EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Citrix SystemsNetscaler Adcapplication
Citrix SystemsNetscaler Gatewayapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity20

Community discussion across Reddit, Mastodon, and other social sources.