# Server Side XSS (Dynamic PDF) {{#include ../../banners/hacktricks-training.md}} ## Server Side XSS (Dynamic PDF) If a web page is creating a PDF using user controlled input, you can try to **trick the bot** that is creating the PDF into **executing arbitrary JS code**.\ So, if the **PDF creator bot finds** some kind of **HTML** **tags**, it is going to **interpret** them, and you can **abuse** this behaviour to cause a **Server XSS**. Please, notice that the `` tags don't work always, so you will need a different method to execute JS (for example, abusing `