Skip to content

Commit 667bb64

Browse files
committed
Add notes on security
1 parent b033d94 commit 667bb64

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
@@ -146,6 +146,11 @@ RootNode[3] (1:1-3:32, 0-45)
146146
└─ SourceNode: "> A paragraph in a block quote." (3:1-3:32, 14-45)
147147
```
148148

149+
## Security
150+
151+
Use of `mdast-util-to-nlcst` does not involve [**hast**][hast] so there are no
152+
openings for [cross-site scripting (XSS)][xss] attacks.
153+
149154
## Related
150155

151156
* [`remark-retext`][remark-retext]
@@ -236,3 +241,7 @@ abide by its terms.
236241
[mdastnode]: https://github.com/syntax-tree/mdast#nodes
237242

238243
[nlcstnode]: https://github.com/syntax-tree/nlcst#nodes
244+
245+
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
246+
247+
[hast]: https://github.com/syntax-tree/hast

0 commit comments

Comments
 (0)