Skip to main content

SAP Application Server CVE-2025-42901

MEDIUM
Code Injection (CWE-94)
2025-10-14 cna@sap.com
5.4
CVSS 3.1 · Vendor: sap
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with low-privilege SAP account
  2. Delivery
    Store malicious JavaScript in BAPI Explorer
  3. Exploit
    Victim opens affected BAPI Explorer function
  4. Execution
    Payload executes in victim browser session
  5. Impact
    Hijack 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (sap) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (sap).

CVSS VectorVendor: sap

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
High
SAP NetWeaver ABAP application server is core, widely-deployed enterprise software
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 CRITICAL

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy