Skip to content

Commit 3683278

Browse files
authored
Add notes on security
1 parent d62cf46 commit 3683278

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme.md

+7
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ This project has a [Code of Conduct][coc].
6060
By interacting with this repository, organisation, or community you agree to
6161
abide by its terms.
6262

63+
## Security
64+
65+
`hast-util-sectioning` does not change the syntax tree so there are no openings
66+
for [cross-site scripting (XSS)][xss] attacks.
67+
6368
## License
6469

6570
[MIT][license] © [Titus Wormer][author]
@@ -109,3 +114,5 @@ abide by its terms.
109114
[element]: https://github.com/syntax-tree/hast#element
110115

111116
[spec]: https://html.spec.whatwg.org/#sectioning-content
117+
118+
[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting

0 commit comments

Comments
 (0)