NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
[>_] ROOM · Cybersecurity
Master the mechanics of Cross-Site Scripting (XSS) via LLM output. Learn how attackers weaponize AI-generated HTML/JS and defend with strict sanitization and CSP.
// about
This module explores how Large Language Models can be manipulated to generate malicious JavaScript or HTML payloads. You will learn how indirect prompt injection and formatting requests lead to Stored and DOM-based XSS, and how to implement robust defenses like DOMPurify, context-aware encoding, and strict Content Security Policies (CSP).
Simulations support the commands and files listed in the exercise; they are not a complete operating system.
Rep is awarded once for each objective or reading lesson. These are maximum base rewards; attempts, hints and published events may change your award. The +100 room bonus requires every published lesson. Review and repeat practice keep your progress without paying the same reward again.