noirbizarre / flask-restplus

Fully featured framework for fast, easy and documented API development with Flask
http://flask-restplus.readthedocs.org
Other
2.74k stars 506 forks source link

Swagger Version in Flask Restplus needs to be updated due to some Vulnerability in CSS in 3.19.0 Version. #782

Open hcmania opened 4 years ago

hcmania commented 4 years ago

Xray scanning shows some vulnerability in the Swagger version in the existing flask restplus version 0.13.0.

It needs to be updated to 3.23.11 or higher?

Is anyone else also facing this issue and is there support of updating this to the latest version of swagger documentation.

16:56:10 Security Violations against xray policy: 16:56:10 { 16:56:10 "id": "", 16:56:10 "severity": "High", 16:56:10 "summary": "A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that