Model output reaches users without escaping
- Where
- The summary endpoint in redacted
- What
- A summary written by the model is rendered as HTML. Text planted in a user's own record can come back as a working link in someone else's dashboard.
- Reproduced
- Yes, on staging, with a record created for the test. redacted
- Fix
- Render summaries as text, allow a short list of Markdown marks, and strip links the model didn't get from the source record.
- Estimate
- Half a day, plus a regression test
Sample based on a real finding class; wording, file and severity are illustrative.