We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06566dd commit 8c49479Copy full SHA for 8c49479
readme.md
@@ -61,6 +61,11 @@ If an `svg` element is found in the HTML space, `toParse5` automatically
61
switches to the SVG space when entering the element, and switches back when
62
exiting.
63
64
+## Security
65
+
66
+Use of `hast-util-to-parse5` can open you up to a
67
+[cross-site scripting (XSS)][xss] attack if the hast tree is unsafe.
68
69
## Contribute
70
71
See [`contributing.md` in `syntax-tree/.github`][contributing] for ways to get
@@ -120,3 +125,5 @@ abide by its terms.
120
125
[tree]: https://github.com/syntax-tree/unist#tree
121
126
122
127
[hast]: https://github.com/syntax-tree/hast
128
129
+[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
0 commit comments