SAP NetWeaver Portal
CVE-2025-42872
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious XSS payload URL
-
DeliveryPhish portal user to click
-
ExploitScript executes in portal browser context
-
ExecutionSteal session cookies and tokens
-
ImpactHijack authenticated portal session
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires victim user interaction (UI:R): a legitimate user of the SAP NetWeaver Enterprise Portal must click an attacker-crafted link or load attacker-influenced content so the malicious script renders in their browser. The attacker needs no authentication or privileges (PR:N) and acts remotely over the network. The practical limiting factors are (1) the dependency on social-engineering a portal user into interacting with the payload, and (2) that meaningful impact (session/token theft) is greatest against users who already hold authenticated portal sessions; there is no server-side code execution or availability impact. |
| Impact | This is a moderate-severity reflected/stored Cross-Site Scripting flaw (CVSS 6.1) in SAP NetWeaver Enterprise Portal. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) indicates a network-reachable, low-complexity attack requiring no attacker privileges but requiring victim user interaction, with a scope change reflecting that injected script executes in a separate security context (the victim's browser). EPSS is low at 0.26% (16th percentile), and there is no CISA KEV listing and no public exploit identified, so all three real-world exploitation signals align toward LOW likelihood of widespread opportunistic exploitation. The signals are consistent - there is no conflict between a high CVSS and the exploitation indicators here, because the CVSS itself is only medium. The main caveat is the CWE: the record is tagged CWE-489 (Active Debug Code), which does not match the XSS behavior described (expected CWE-79); this appears to be a metadata error and does not change the risk picture but should be verified against the SAP note. Net assessment: a legitimate issue to patch in SAP-heavy enterprises, but a prioritization tier below RCE/auth-bypass bugs - not an emergency absent evidence of targeting. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL or portal content containing a script payload and lures a legitimate portal user (e.g., via phishing) into clicking it. When the victim's browser renders the unsanitized input within the SAP NetWeaver Enterprise Portal context, the script executes and exfiltrates session cookies and tokens, enabling session hijacking. No public exploit code has been identified at time of analysis, and the attack requires the victim to interact with the malicious link. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Cross-site scripting in SAP NetWeaver Enterprise Portal allows unauthenticated remote attackers to inject malicious scripts that execute in the browsers of other portal users, enabling theft of session cookies, tokens, and other sensitive data. Exploitation requires victim interaction (CVSS vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), typically a portal user clicking an attacker-crafted link or loading attacker-influenced content, and the impact is assessed as low for confidentiality and integrity with no availability impact. No public exploit code or confirmed active exploitation has been identified at time of analysis, and EPSS is low at 0.26% (16th percentile), so this is best treated as a moderate-priority, patch-on-cycle issue rather than an emergency.
RemediationAI
Patch available per vendor advisory: apply the fix referenced in SAP Note 3662622, distributed through SAP's Security Patch Day (https://me.sap.com/notes/3662622 and https://url.sap/sapsecuritypatchday), and track the note for the exact support package and release levels that carry the correction since no fixed version is enumerated in the provided data. Where patching must be staged, compensating controls that materially reduce risk are: set HttpOnly and SameSite=Strict or Lax on portal session cookies so XSS cannot trivially exfiltrate session identifiers (trade-off: client-side JavaScript that legitimately reads those cookies will break, and HttpOnly does not stop script-driven actions performed as the victim); deploy a strict Content-Security-Policy with nonce- or hash-based script sources and no unsafe-inline to blunt inline script execution (trade-off: requires inventorying and possibly rewriting legacy portal scripts, and can break embedded third-party widgets); and restrict portal reachability to trusted networks or VPN with strong authentication in front of it, which shrinks the pool of users an attacker can socially engineer (trade-off: reduces usability for remote and partner access). Because exploitation depends on user interaction, reinforcing phishing awareness for portal users and filtering inbound links to the portal domain adds marginal protection, but it should not substitute for the vendor patch.
Affected ProductsAI
The affected product is SAP NetWeaver Enterprise Portal, reported by SAP's own CNA (cna@sap.com) with the tags XSS and SAP. No CPE strings or explicit version ranges were supplied in the intelligence feed, so the exact affected releases, support packages, and component scope must be read directly from SAP Note 3662622 (https://me.sap.com/notes/3662622) and the corresponding entry on the SAP Security Patch Day page (https://url.sap/sapsecuritypatchday). Organizations running Enterprise Portal on the SAP NetWeaver Application Server Java stack - particularly any portal exposed to untrusted networks or to broad user populations - should treat their deployment as potentially in scope and confirm applicability against the note before concluding they are unaffected.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a client-side script injection issue in the web presentation layer of SAP NetWeaver Enterprise Portal, where user-supplied content is rendered into a page without sufficient output encoding or sanitization, letting attacker-controlled markup execute in the victim's browser origin. Because the script runs in the portal's security context, it can read non-HttpOnly session cookies, harvest tokens, and perform actions as the logged-in user; the CVSS scope change (S:C) reflects that the vulnerable component and the impacted user session are treated as different security authorities. The supplied CWE, CWE-489 (Active Debug Code), does not match the described XSS behavior - that identifier concerns leftover debug functionality, so the classification appears to be a CWE mis-assignment in the source data and should be validated against SAP's own note; the operative root-cause class is improper neutralization of input during web page generation (CWE-79). The CVSS vector confirms network reachability, no privileges required (PR:N, unauthenticated), and a hard dependency on user interaction (UI:R), which is the primary practical barrier to exploitation; no CPE identifiers were provided, so the precise affected build or component set cannot be confirmed from the input data alone.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Remote, no attacker auth (PR:N) but victim interaction needed (UI:R); injected script runs in the browser's separate context (S:C) with limited cookie/token disclosure and manipulation (C:L/I:L), no availability impact.
Primary rating from Vendor (sap).
CVSS VectorVendor: sap
DescriptionCVE.org
Due to a Cross-Site Scripting (XSS) vulnerability in SAP NetWeaver Enterprise Portal, an unauthenticated attacker could inject malicious scripts that execute in the context of other users� browsers, allowing the attacker to steal session cookies, tokens, and other sensitive information. As a result, the vulnerability has a low impact on confidentiality and integrity and no impact on availability.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB