Skip to main content

CVE-2025-2694: IBM Sterling B2B Integrator XSS Vulnerability

CVE-2025-2694 is a cross-site scripting vulnerability in IBM Sterling B2B Integrator that allows privileged users to inject malicious JavaScript code. This article covers technical details, affected versions, and mitigation strategies.

Published:

CVE-2025-2694 Overview

CVE-2025-2694 is a stored cross-site scripting (XSS) vulnerability affecting IBM Sterling B2B Integrator and IBM Sterling File Gateway. The flaw allows a privileged authenticated user to inject arbitrary JavaScript into the Web UI. When another user loads the affected page, the injected script executes within their trusted session context. Successful exploitation can alter intended application functionality and lead to credentials disclosure. The vulnerability is tracked under CWE-79 and requires both high privileges and user interaction to exploit.

Critical Impact

An authenticated privileged attacker can execute arbitrary JavaScript in a victim's browser session, potentially capturing credentials and manipulating Web UI behavior across trust boundaries.

Affected Products

  • IBM Sterling B2B Integrator versions 6.0.0.0 through 6.1.2.7_1
  • IBM Sterling B2B Integrator versions 6.2.0.0 through 6.2.0.4
  • IBM Sterling File Gateway versions 6.0.0.0 through 6.1.2.7_1 and 6.2.0.0 through 6.2.0.4

Discovery Timeline

  • 2025-09-04 - CVE-2025-2694 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-2694

Vulnerability Analysis

The vulnerability resides in the Web UI of IBM Sterling B2B Integrator and IBM Sterling File Gateway. User-supplied input is rendered back to the browser without adequate output encoding or input sanitization. A privileged user can submit JavaScript payloads through an input field that is later stored and rendered inside the trusted Web UI context.

Because the CVSS vector indicates a scope change, the injected script executes beyond the vulnerable component boundary. The script runs with the privileges of the viewing user's session, which may include administrative access to transfer workflows, trading partner data, and file gateway configuration.

The impact includes session token theft, forced browser actions against the Sterling administration APIs, and disclosure of credentials entered within the compromised page. Integrity and confidentiality are both affected at a limited level.

Root Cause

The root cause is improper neutralization of input during web page generation [CWE-79]. The affected Web UI components do not consistently HTML-encode user-controlled fields before rendering them in server responses, allowing script tags and event handlers to persist.

Attack Vector

Exploitation requires an authenticated session with high privileges on the Sterling platform. The attacker stores a malicious payload in an input field that is later displayed to another user. When the victim loads the page, the browser executes the attacker-controlled JavaScript inside the trusted application origin. User interaction is required for the payload to trigger.

No verified public proof-of-concept code is available. See the IBM Support Page for vendor technical details.

Detection Methods for CVE-2025-2694

Indicators of Compromise

  • Unexpected <script> tags, inline event handlers (onerror, onload), or encoded JavaScript strings stored in Sterling B2B Integrator configuration fields, partner profiles, or File Gateway metadata.
  • Outbound HTTP requests from administrator browsers to unknown external hosts shortly after loading Sterling Web UI pages.
  • Audit log entries showing privileged users modifying free-text fields that are later rendered to other administrators.

Detection Strategies

  • Review stored content in Sterling databases for HTML and JavaScript patterns in fields intended for plain text.
  • Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution originating from the Sterling Web UI.
  • Correlate privileged user activity against subsequent anomalous session behavior from accounts that viewed the modified pages.

Monitoring Recommendations

  • Enable verbose audit logging on administrative actions within Sterling B2B Integrator and Sterling File Gateway.
  • Forward Web UI access logs and admin API calls to a centralized SIEM or data lake for query-based hunting.
  • Alert on privileged account logins from new source IP addresses or user agents, which may indicate session hijacking following XSS execution.

How to Mitigate CVE-2025-2694

Immediate Actions Required

  • Apply the IBM-provided fix for Sterling B2B Integrator and Sterling File Gateway as described in the vendor advisory.
  • Review the set of users holding privileged roles and remove unneeded administrative access to shrink the exploitable surface.
  • Audit stored configuration and partner data for existing script payloads introduced before patching.

Patch Information

IBM has published remediation guidance in the IBM Support Page. Administrators should upgrade beyond the affected ranges (6.0.0.0 through 6.1.2.7_1 and 6.2.0.0 through 6.2.0.4) to the fixed releases identified by IBM.

Workarounds

  • Enforce a strict Content Security Policy on the Sterling Web UI reverse proxy to block inline script execution where feasible.
  • Restrict administrative access to the Sterling Web UI to trusted management networks and jump hosts.
  • Require multi-factor authentication for all privileged Sterling accounts to limit the value of stolen session tokens.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.