Skip to content
F
GitHubLight theme

Security model

Escaped by default. Raw on purpose.

Values you interpolate are escaped unless you explicitly ask otherwise. Template source is code you wrote and is trusted.

{{ value }} escapes

Markup in the value is rendered as text. Use it for anything that comes from a user, a database or a request.

{{{ value }}} inserts raw HTML

The value is emitted verbatim. FlowView does not sanitize it, so only pass HTML you trust or have already sanitized.

Live check

The block below is rendered by FlowView from a hostile value. The markup appears as text and nothing runs.

Hello flowview

first
  second

<img src=x onerror="globalThis.__flowviewXss = true">

contact@if.example

To report a vulnerability, follow thesecurity policy.