Reflected XSS happens when a server echoes request data (a query string, form field or header) straight back into the HTML response without encoding it. Stored XSS is the same class of bug, except the payload is saved first — in a comment, profile field or database row — and then rendered to every visitor who loads the page.
Both land in the HTML body context, so the goal is to introduce an element or attribute the browser will execute: a <script> tag, or an element with an auto-firing event handler such as onerror, onload or ontoggle. The payloads below replace the builder's placeholder with the marker XSS so you can paste them as-is into an authorized test target.