Skip to content

Commit

Permalink
Update README on swagger-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
dhmlau committed Nov 14, 2019
1 parent 0da66a7 commit 82a09ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,3 +200,11 @@ Module Long Term Support (LTS)](http://github.com/CloudNativeJS/ModuleLTS) polic
| 4.x | End-of-Life | Dec 2016 | Apr 2019 |

Learn more about our LTS plan in [docs](https://loopback.io/doc/en/contrib/Long-term-support.html).

## swagger-ui vulnerabilities

There has been a security vulnerability on one of our dependencies `swagger-ui`: https://www.npmjs.com/advisories/985.

> Versions of swagger-ui prior to 3.0.13 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize YAML files imported from URLs or copied-pasted. This may allow attackers to execute arbitrary JavaScript.
LoopBack's API Explorer does not allow clients to import swagger spec from YAML URL/pasted-content. That means loopback-component-explorer **IS NOT AFFECTED** by this vulnerability. For more details, see discussion in https://github.com/strongloop/loopback-component-explorer/issues/263#issuecomment-529385166.

0 comments on commit 82a09ef

Please sign in to comment.