RPO
Relative Path Overwrite
Basic Concepts
Ways an application can load the CSS file
<!-- using the full path to the CSS file -->
<link href="http://example.com/style.css" rel="stylesheet" type="text/css"/>
<!-- using root dir of the CSS file -->
<link href="/style.css" rel="stylesheet" type="text/css"/>
<!-- using a relative path -->
<link href="style.css" rel="stylesheet" type="text/css"/>Quirks mode
Exploitation RPO
Prerequisites

Vulnerable Code Snippet




After meeting all requirements, try to inject CSS code to turn the font red so we now know the
target is vulnerable:

Impact
Last updated