You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,12 @@ Yields:
200
200
Some text with <svg viewBox="0 0 1 1" width="1" height="1"><rect fill="black" x="0" y="0" width="1" height="1"></rect></svg> a graphic… Wait is that a dead pixel?
201
201
```
202
202
203
+
## Security
204
+
205
+
Use of `hast-util-to-mdast` can open you up to a
206
+
[cross-site scripting (XSS)][xss] attack if the hast tree is unsafe.
207
+
Use [`hast-util-santize`][sanitize] to make the hast tree safe.
0 commit comments