Skip to main content

SNOW-AF-14: Agent Writes HTML or [code] Markup Into Work Notes

๐Ÿ”ด High ยท ServiceNow Action Fabric

Detects ServiceNow AI Agent tools/scripts that insert HTML or [code] journal markup into work_notes / comments from LLM or user input. Journal fields render markup for agents and fulfillers, enabling stored XSS.

Detailsโ€‹

FieldValue
Rule IDSNOW-AF-14
SeverityHigh
CategoryServiceNow Action Fabric
Platformsservicenow

Remediationโ€‹

Strip HTML and [code]...[/code] blocks from model output before setValue/setDisplayValue on work_notes or comments, or write plain text only. Prefer GlideElement.setValue with sanitized content; never concatenate raw LLM output into journal fields.

See Alsoโ€‹