Vulnerability library
Security checkJune 02, 2023

Server side request forgery in SwaggerUI - swagger-ui-dist

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmswagger-ui-dist

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

SwaggerUI supports displaying remote OpenAPI definitions through the ?url parameter. This enables robust demonstration capabilities on sites like petstore.swagger.io, editor.swagger.io, and similar sites, where users often want to see what their OpenAPI definitions would look like rendered.

Recommendation

Update the swagger-ui-dist package to the latest compatible version. Followings are version details:

  • Affected version(s): < 4.1.3
  • Patched version(s): 4.1.3

References

Could your website be exposed too?

SmartScanner can check your website for Server side request forgery in SwaggerUI - swagger-ui-dist and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated June 02, 2023