Skip to content

Commit

Permalink
Add notes on security
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 23, 2019
1 parent 0f845e9 commit bc4a7f8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,12 @@ Yields:
}
```

## Security

Use of `remark-frontmatter` does not involve [**rehype**][rehype]
([**hast**][hast]) or user content so there are no openings for
[cross-site scripting (XSS)][xss] attacks.

## Related

* [`remark-github`](https://github.com/remarkjs/remark-github)
Expand Down Expand Up @@ -274,3 +280,9 @@ abide by its terms.
[preset]: #preset

[matter]: #matter

[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting

[rehype]: https://github.com/rehypejs/rehype

[hast]: https://github.com/syntax-tree/hast

0 comments on commit bc4a7f8

Please sign in to comment.