Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Add notes on security
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 23, 2019
1 parent 8b60867 commit 412ee3a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ Remove the wrapping paragraph for images.
Supports multiple images, white space around images, and images in links as
well.

## Security

Use of `remark-unwrap-images` does not involve [**rehype**][rehype]
([**hast**][hast]) or user content, it only removes some existing nodes, so
there are no openings for [cross-site scripting (XSS)][xss] attacks.

## Contribute

See [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways
Expand Down Expand Up @@ -113,3 +119,9 @@ abide by its terms.
[license]: license

[remark]: https://github.com/remarkjs/remark

[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting

[rehype]: https://github.com/rehypejs/rehype

[hast]: https://github.com/syntax-tree/hast

0 comments on commit 412ee3a

Please sign in to comment.