Read more

How to exploit websites that include user input in their CSS

Henning Koch
September 09, 2017Software engineer at makandra GmbH

The linked article Show archive.org snapshot shows how to exploit websites that include unsanitized user input in their CSS.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

Although the article often mentions React and CSS-in-JS libraries, the methods are applicable to any web app that injects user input into style tags or properties.

Also, sanitizing user input for CSS injection is much harder than sanitizing HTML.

Posted by Henning Koch to makandra dev (2017-09-09 15:55)