{"package":"swagger-ui","ecosystem":"npm","latest_version":"5.32.5","description":"[![NPM version](https://badge.fury.io/js/swagger-ui.svg)](http://badge.fury.io/js/swagger-ui) [![Build Status](https://jenkins.swagger.io/view/OSS%20-%20JavaScript/job/oss-swagger-ui-master/badge/icon?subject=jenkins%20build)](https://jenkins.swagger.io/v","license":"Apache-2.0","license_risk":"permissive","commercial_use_notes":"Permissive: commercial closed-source use OK; preserve the copyright notice.","homepage":"https://github.com/swagger-api/swagger-ui","repository":"https://github.com/swagger-api/swagger-ui","downloads_weekly":149099,"health":{"score":89,"risk":"low","breakdown":{"maintenance":25,"popularity":14,"security":23,"maturity":15,"community":12},"deprecated":false,"max_score":100},"vulnerabilities":{"count":1,"critical":0,"high":0,"medium":1,"low":0,"details":[{"vuln_id":"GHSA-qrmm-w75w-3wpx","severity":"medium","summary":"Server side request forgery in SwaggerUI","affected_versions":"<4.1.3|<4.1.3|<4.1.3|<6.3.0|=1.0.0|=1.0.0--rc1|=1.0.0-rc1|=1.0.0-rc2|=1.0.0-rc3|=1.1.0|=1.2.0|=2.0.0|=2.1.0|=2.1.1|=2.2.0|=2.3.0|=2.4.0|=2.5.0|=3.0.0|=4.0.0|=4.0.1|=5.0.0|=5.0.0-beta|=5.0.0-rc1|=5.0.0-rc2|=5.0.0-rc3|=5.0.0-rc4|=5.0.0-rc5|=5.1.0|=5.2.0|=5.2.1|=5.3.0|=5.3.1|=5.3.2|=5.3.3|=5.4.0|=5.4.1|=5.5.0|=5.5.1|=5.6.0|=5.6.1|=5.6.2|=5.6.3|=6.0.0|=6.0.1|=6.0.2|=6.0.3|=6.0.4|=6.0.5|=6.0.6|=6.0.7|=6.1.0|=6.1.1|=6.1.2|=6.1.3|=6.1.4|=6.1.5|=6.2.0|=6.2.1|=6.2.2|=6.2.3","fixed_version":"6.3.0","source":"osv","published_at":"2021-12-09T19:08:38Z"}],"actively_exploited_count":0,"likely_exploited_count":0},"versions":{"latest":"5.32.5","total_count":442,"recent":["5.28.1","5.29.0","5.29.1","5.29.2","5.29.3","5.29.4","5.29.5","5.30.0","5.30.1","5.30.2","5.30.3","5.31.0","5.31.1","5.31.2","5.32.0","5.32.1","5.32.2","5.32.3","5.32.4","5.32.5"]},"metadata":{"deprecated":false,"deprecated_message":null,"maintainers_count":3,"first_published":"2013-02-20T16:53:46.574Z","last_published":"2026-04-27T12:54:47.110Z","dependencies_count":36,"dependencies":["@babel/runtime-corejs3","@scarf/scarf","base64-js","buffer","classnames","css.escape","deep-extend","dompurify","ieee754","immutable","js-file-download","js-yaml","lodash","prop-types","randexp","randombytes","react","react-copy-to-clipboard","react-debounce-input","react-dom","react-immutable-proptypes","react-immutable-pure-component","react-inspector","react-redux","react-syntax-highlighter","redux","redux-immutable","remarkable","reselect","serialize-error","sha.js","swagger-client","url-parse","xml","xml-but-prettier","zenscroll"]},"github_stats":{"stars":28765,"forks":9268,"open_issues":1431,"is_archived":false,"pushed_at":"2026-04-27T12:56:12Z","subscribers_count":621},"bundle":{"size_kb":1239.9,"gzip_kb":343.7,"dependency_count":36,"has_js_module":"./dist/swagger-ui-es-bundle-core.js","has_side_effects":true,"scoped":false,"source":"bundlephobia"},"typescript":{"score":7,"has_types":true,"types_source":"definitely-typed","types_package":"@types/swagger-ui"},"known_issues":{"bugs_count":0,"bugs_severity":{},"status_breakdown":{},"link":null,"scope":"none"},"historical_compromise":null,"recommendation":{"action":"safe_to_use","issues":[],"use_version":"5.32.5","version_hint":"Update to >= 6.3.0 to fix known vulnerabilities","summary":"swagger-ui@5.32.5 is safe to use (health: 89/100)"},"version_scoped":null,"_meta":{"endpoint":"check","tier":"full","philosophy":"DepScope is free. Use the cheapest endpoint that answers your real question.","cheaper_alternatives":[{"endpoint":"/api/exists/npm/swagger-ui","tokens_estimated":12,"use_when":"you only need to know if the package exists (hallucination guard)"},{"endpoint":"/api/health/npm/swagger-ui","tokens_estimated":80,"use_when":"you only need a 0-100 score for go/no-go (>=70 = safe)"},{"endpoint":"/api/prompt/npm/swagger-ui","tokens_estimated":280,"use_when":"you want a plain-text LLM-friendly brief instead of JSON"},{"endpoint":"POST /api/check_bulk","tokens_estimated":60,"use_when":"you have 5+ packages to check; sends one round-trip instead of N"}],"docs":"https://depscope.dev/integrate","hint_bulk":"You've called /api/check 9 times in 60s. Save bandwidth + tokens with POST /api/check_bulk (1 round-trip for N pkgs)."},"requested_version":null,"_cache":"miss","_response_ms":1589,"_powered_by":"depscope.dev — free package intelligence for AI agents","typosquat":{"is_suspected":false},"maintainer_trust":{"available":false},"malicious":{"is_malicious":false},"scorecard":{"available":false},"quality":{"available":false},"version_history_summary":{"total_versions":20,"first_release_age_days":4819,"last_release_days_ago":5,"avg_days_between_releases":254,"release_velocity":"active"}}