Skip to content
XSS Write-up Intermediate

SAP Note 3797108: Web Dynpro Java CSS Injection (CVE-2026-109810)

The Web Dynpro Java runtime resolved styling resources from request parameters, so an attacker could craft a link that made the victim's browser load attacker-controlled CSS inside the trusted application. This allowed UI redressing for phishing and limited leakage of page content.

RedRays Team Follow

Published on redrays.io

SAP Security on Udemy

RedRays Team, on redrays.io

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the runtime trusted a request parameter to choose where theme and styling resources were loaded from, without restricting the allowed hosts.

Impact

An attacker could redress the interface for convincing phishing inside a trusted URL and leak limited page content; the text does not describe any defence that blocked it.

What the attacker needed

Victim clicks a crafted link; attacker-hosted CSS reachable by victim

The fix

The runtime was changed to load theme resources only from permitted hosts, defaulting to the current host, with an explicit allowlist recommended over the compatibility switch that restores the old behaviour.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A web page normally loads its styling (the CSS that decides how things look) from its own server. Here the application also accepted a styling location from the link itself, so someone could send a link that quietly pulls in their own styling. The page then looks genuine but can be rearranged to show fake fields, which helps trick people into entering data.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by RedRays Team

View all

10 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.