# Cross-Site Scripting Assessment

> Assess how pages show untrusted values with one harmless formatting marker: output contexts, stored and browser side cases, safe DOM interfaces and policy headers.

Canonical: https://codelivly.com/rooms/cross-site-scripting-assessment
Last updated: 2026-11-25

| | |
|---|---|
| Level | Intermediate |
| Category | Cybersecurity |
| Lessons | 5 |
| Estimated time | 3 h 30 min |
| XP | 1108 |

Cross-site scripting comes from values written into a page without preparation for the place they land. This room assesses output handling on the Ledgerline application from the assessor side, using only an inert formatting marker on a test record and in an address. You learn output contexts and encoding, how to follow one value to every display, how to trace sources and sinks in browser code, what a Content Security Policy adds and what it cannot do, and how to record results and fixes honestly. Every lesson has a terminal exercise on realistic exports and scenario questions that need judgment.

## Lessons

1. Output Contexts and Encoding (40 min)
2. Stored and Reflected Display of Input (40 min)
3. Sources and Sinks in Browser Code (40 min)
4. Content Security Policy as a Second Layer (40 min)
5. Guided Lab: Assess Output Handling on Ledgerline Pages (50 min)

## Related

- [Learning path: Injection and Client-Side Flaw Testing](https://codelivly.com/learning-paths/injection-and-client-side-flaw-testing)
- [All rooms](https://codelivly.com/rooms)
