id: sample-profile-form-literal-text title: 'Profile treats markup as literal text' order: 40 tags: [security]#
Prerequisites#
The sample server is running at the agreed base URL and this attempt has its own browser context.
Steps#
- Select Fixed save.
- Enter <b>Morgan</b> as Display name and Save profile.
- Visit Overview, then Profile.
- Inspect the stored-value text and DOM for a new bold element containing Morgan.
Expected outcomes#
- The literal string <b>Morgan</b> remains the saved and editable value.
- The supplied markup is not rendered as a new HTML element.