SAP Application Server
CVE-2025-42901
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privilege SAP account
-
DeliveryStore malicious JavaScript in BAPI Explorer
-
ExploitVictim opens affected BAPI Explorer function
-
ExecutionPayload executes in victim browser session
-
ImpactHijack session context or exfiltrate displayed data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a valid authenticated SAP application account with sufficient rights to submit/store content via the BAPI Explorer (PR:L), and (2) a second victim user subsequently opening the affected BAPI Explorer functionality where the stored payload renders and executes in their browser. The dependence on prior authentication and on victim interaction with a specific, developer/administrator-oriented tool (BAPI Explorer) materially limits real-world exploitation; this is not a default-exposed, unauthenticated internet-facing surface. Impact is confined to the victim's browser session (low confidentiality and integrity, no availability). |
| Impact | This is a stored (persistent) cross-site scripting issue in the BAPI Explorer of SAP Application Server for ABAP, and the signals consistently point to a moderate, not critical, priority. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N = 5.4 Medium) requires an authenticated attacker (PR:L) and yields only low confidentiality and low integrity impact with no availability impact. EPSS is low at 0.23% (12th percentile), indicating a low modeled probability of exploitation in the near term, and there is no CISA KEV listing and no public exploit identified - so there is no public exploit identified at time of analysis. One conflict should be noted explicitly: the input CVSS sets UI:N, yet the description says the payload 'could be executed in victim user's browser when accessing the affected functionality,' which is the textbook pattern of victim-side user interaction (UI:R) - verify the UI metric with SAP. A second mismatch: the CWE is CWE-94 (Code Injection) and the input tags include 'RCE,' but the described behavior and the low C:L/I:L/A:N impacts are consistent with browser-context XSS, not server-side remote code execution; treating this as RCE would overstate the risk. Net assessment: a real but lower-tier issue - patch in the normal SAP Security Patch Day cycle rather than as an emergency, with priority raised where the BAPI Explorer is exposed to many interactive users. |
| Exploit ScenarioDerived | An attacker with valid but low-privileged SAP application credentials stores a malicious JavaScript payload through the BAPI Explorer. When another user - potentially a more privileged administrator or developer - later opens the affected BAPI Explorer functionality, the stored script executes in their authenticated browser session, enabling session-context actions such as reading displayed data or issuing requests as that user. No public exploit code is identified, and the network attack vector is offset by the requirement for prior authentication and for a victim to view the stored content. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Stored cross-site scripting (XSS) in the BAPI Explorer of SAP Application Server for ABAP allows an authenticated attacker with low privileges to inject malicious JavaScript that executes in the browser of a victim user who later accesses the affected functionality. The vulnerability requires victim interaction and prior authentication, and impact is limited to low confidentiality and integrity with no availability impact. No public exploit has been identified, and EPSS score is 0.23% (12th percentile), indicating a moderate priority rather than critical.
RemediationAI
Apply the vendor patch provided in SAP Security Note 3652788, available via the SAP Support Portal (https://me.sap.com/notes/3652788) and as part of SAP Security Patch Day (https://url.sap/sapsecuritypatchday). As a compensating control until patching is complete, restrict access to the BAPI Explorer to only trusted developer or administrator accounts, recognizing that this reduces the tool's availability for legitimate users. Additionally, enforce a strong Content Security Policy (CSP) on the SAP web interface to mitigate script execution, though this may break other legitimate scripts. Monitor for suspicious content stored in BAPI Explorer and review user permissions to ensure least privilege.
Affected ProductsAI
SAP Application Server for ABAP, specifically the BAPI Explorer component. All versions where the BAPI Explorer is installed and accessible are potentially affected. Version-specific details and patch applicability are documented in SAP Security Note 3652788 (https://me.sap.com/notes/3652788). CPE information is not available in the provided data.
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 vulnerability resides in the BAPI Explorer, a web-based tool within SAP Application Server for ABAP used by developers and administrators to explore Business APIs (BAPIs). CWE-94 (Code Injection) manifests here as persistent cross-site scripting: an authenticated attacker can store malicious JavaScript payloads that are later rendered without proper neutralization when a victim opens the affected BAPI Explorer page. The independent assessment adjusts the CVSS vector to require user interaction (UI:R) and changed scope (S:C), reflecting that the script executes in the victim's browser session, potentially affecting resources beyond the vulnerable component. The underlying issue is improper output encoding or input sanitization of user-supplied content stored in the BAPI Explorer.
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:L/UI:N/S:U/C:L/I:L/A:N
Authenticated storage gives PR:L; a victim must open the function so UI:R; payload executes in the victim's browser context (different from the vulnerable component) so S:C; impact low.
Primary rating from Vendor (sap).
CVSS VectorVendor: sap
DescriptionCVE.org
SAP Application Server for ABAP allows an authenticated attacker to store malicious JavaScript payloads which could be executed in victim user's browser when accessing the affected functionality of BAPI explorer. This has low impact on confidentiality and integrity with no impact on availability of the application.
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.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB