CWE-1021Weakness · CWE-1021

CVE-2025-24874

MEDIUM · 6.8 CVSS v3.1 Published 2025-02-11
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
75/100
Remediation priority · High
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
SAP Commerce (Backoffice) uses the deprecated X-FRAME-OPTIONS header to protect against clickjacking. While this protection remains effective now, it may not be the case in the future as browsers might discontinue support for this header in favor of the frame-ancestors CSP directive. Hence, clickjacking could become possible then, and lead to exposure and modification of sensitive information.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

SAP Commerce Backoffice uses the deprecated X-FRAME-OPTIONS HTTP header for clickjacking protection rather than the modern frame-ancestors Content Security Policy directive. If browsers discontinue X-FRAME-OPTIONS support, the application becomes vulnerable to clickjacking attacks that could allow exposure and modification of sensitive data.

MitigationReplace the X-FRAME-OPTIONS header with the frame-ancestors CSP directive in the SAP Commerce configuration to ensure future-proof clickjacking protection.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify SAP Commerce Backoffice installation
    Locate the SAP Commerce installation directory and confirm the Backoffice module is deployed. Check for the backoffice or bc backoffice package in the hybris/bin directory or review the system information page.
    Affected if SAP Commerce Backoffice is not installed or not in use, the vulnerability does not apply.
  2. Inspect HTTP response headers for X-FRAME-OPTIONS
    Send a request to the Backoffice login or main page and examine the response headers. Use a tool like curl -I <backoffice_url> or browser developer tools to view all response headers.
    Affected if The X-FRAME-OPTIONS header is present in responses, indicating the deprecated protection mechanism is in use.
  3. Check for frame-ancestors CSP directive
    Examine the same HTTP response headers for the Content-Security-Policy header. Look specifically for the frame-ancestors directive in the policy.
    Affected if The frame-ancestors directive is absent from the CSP, meaning modern clickjacking protection is not configured.
  4. Review SAP Commerce security configuration files
    Locate the security-related configuration files in the SAP Commerce installation, typically in hybris/bin/platform/resources/ant and look for x-frame-options or header security configurations in property or XML files.
    Affected if Configuration explicitly sets or enables X-FRAME-OPTIONS instead of frame-ancestors.
  5. Verify application framing behavior
    Attempt to embed the Backoffice URL in an iframe on a test page, or review the response to determine if the X-FRAME-OPTIONS header contains DENY or SAMEORIGIN values that are being honored.
    Affected if X-FRAME-OPTIONS with DENY or SAMEORIGIN is present and being processed, but no frame-ancestors directive exists, leaving the application vulnerable if browser support is removed.

A user is affected if SAP Commerce Backoffice is in use and relies on X-FRAME-OPTIONS for clickjacking protection without having frame-ancestors CSP configured.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

From vendor data
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Replace the X-FRAME-OPTIONS header with the frame-ancestors CSP directive in the SAP Commerce configuration to ensure future-proof clickjacking protection.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing2.0 h
  • Review / QA1.0 h
7.0 hours of engineering $1,240
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-24874 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-24874 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data