We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
unifiedjs
Learn more about funding links in repositories.
Report abuse
1 parent fa0457b commit 3d726a4Copy full SHA for 3d726a4
readme.md
@@ -171,6 +171,13 @@ For example, the following node:
171
<i class="foo">bar</i>
172
```
173
174
+## Security
175
+
176
+Use of `remark-html` is *unsafe* by default and opens you up to a
177
+[cross-site scripting (XSS)][xss] attack.
178
+Pass `sanitize: true` to prevent attacks.
179
+Settings `sanitize` to anything else may be unsafe.
180
181
## Contribute
182
183
See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
@@ -256,3 +263,5 @@ abide by its terms.
256
263
[commonmark]: https://commonmark.org
257
264
258
265
[integrations]: #integrations
266
267
+[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting
0 commit comments