Skip to content

Commit 37acaf0

Browse files
committed
Add notes on security
1 parent 65d24d6 commit 37acaf0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,11 @@ of `source`:
132132
<p data-nlcst="source">Completely marked.</p>
133133
```
134134

135+
## Security
136+
137+
`hast-util-to-nlcst` does not change the original syntax tree so there are no
138+
openings for [cross-site scripting (XSS)][xss] attacks.
139+
135140
## Contribute
136141

137142
See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
@@ -209,3 +214,5 @@ abide by its terms.
209214
[vfile]: https://github.com/vfile/vfile
210215

211216
[source]: https://github.com/syntax-tree/nlcst#source
217+
218+
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting

0 commit comments

Comments
 (0)