# What changed in swagger-ui-react

> 36 changes in swagger-ui-react 5 from its official release notes, upgrade guides and advisories: 3 security, 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/swagger-ui-react/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## swagger-ui-react 5

### Security

- Addresses the nghttp2-libs vulnerability CVE-2026-27135 in Docker-related artifacts. (5.32.6) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.6)
- Upgraded Alpine packages in Docker to address high-severity CVEs. (5.32.4) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.4)
- The Docker image now uses updated libpng and zlib versions to fix CVE-2026-33416, CVE-2026-33636, and CVE-2026-22184. (5.32.2) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.2)

### New APIs and options

- Adds basic support for OpenAPI 3.2.0. (5.32.0) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.0)
- Swagger UI adds dark mode. (5.31.0) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.31.0)

### Performance

- Adds virtualization for schemas and operations. (5.33.0) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.33.0)
- Limit the number of operation rerenders. (5.32.3) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.3)
- Reduced conversion from immutablejs to plain JavaScript objects. (5.31.2) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.31.2)

### Behavior and default changes

- The default supportedSubmitMethods for OAS 3.2 now includes query. (5.32.15) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.15)
- Native browser controls now indicate the dark color scheme. (5.32.14) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.14)
- The Authorization popup can now be closed with the Escape key or by clicking the backdrop. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Copy-to-clipboard buttons now have aria-labels, improving their accessibility to assistive technology users. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- The dark-mode toggle button now exposes its name and state for accessibility. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Reduces padding on inline code blocks in markdown, changing their rendered appearance. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Adds a skip-to-operations link and banner and main landmarks to improve navigation for assistive technology users. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Model titles use strong semantics to convey emphasis to assistive technology. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Reverts the change that made Authorization easier to access. (5.32.5) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.5)

### Fixes and other changes

- Fixes handling virtualization with path item references. (5.33.1) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.33.1)
- Fixes visibility of the operation copy-to-clipboard icon. (5.33.0) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.33.0)
- A scoped DOMPurify instance is used to avoid mutating the global instance. (5.32.15) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.15)
- Buttons now have accessible names, improving accessibility for users of assistive technologies. (5.32.14) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.14)
- Restores icon visibility in Windows High Contrast Mode. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- The topbar logo and dark-mode toggle are now visible in Windows High Contrast Mode. (5.32.13) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.13)
- Avoids a crash when an OpenAPI requestBody has no content field. (5.32.9) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.9)
- Parameter inputs no longer fill with invalid array initial values. (5.32.8) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.8)
- Fixes the default text color for Markdown list items in Dark Mode. (5.32.5) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.5)
- Increased the authorization backdrop z-index to fix its layering. (5.32.4) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.4)
- Move the button margin from right to left. (5.32.3) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.3)
- Cache invalidation now accounts for location, preventing stale models components from being reused. (5.32.1) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.1)
- Responsive styling now uses container queries. (5.32.1) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.32.1)
- A mistakenly added condition was removed from core. (5.31.2) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.31.2)
- Validated support for OpenAPI 3.1.2. (5.31.1) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.31.1)
- Sanitizing now handles multi-level relative paths. (5.30.3) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.30.3)
- Prevents webhooks from crashing when used with OpenAPI 3.0. (5.30.1) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.30.1)
- Handles complex value stringification in the Property component. (5.29.5) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.29.5)
- Corrects spec paths for parameters, responses and request bodies. (5.29.5) — [release notes](https://github.com/swagger-api/swagger-ui/releases/tag/v5.29.5)
