Skip to content

Commit 33e2f10

Browse files
authored
Add notes on security
1 parent 7049ffe commit 33e2f10

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ Yields:
6464
Modifies [tree][] in-place.
6565
Returns `tree`.
6666

67+
## Security
68+
69+
Use of `mdast-util-to-nlcst` does not involve [**hast**][hast] so there are no
70+
openings for [cross-site scripting (XSS)][xss] attacks.
71+
6772
## Related
6873

6974
* [`remark-normalize-headings`][normalize-headings]
@@ -128,3 +133,7 @@ abide by its terms.
128133
[normalize-headings]: https://github.com/remarkjs/remark-normalize-headings
129134

130135
[tree]: https://github.com/syntax-tree/unist#tree
136+
137+
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
138+
139+
[hast]: https://github.com/syntax-tree/hast

0 commit comments

Comments
 (0)