sync: merge upstream/main - #212
Closed
OS-miguelfreitas wants to merge 248 commits into
Closed
OS-miguelfreitas wants to merge 248 commits into
OS-miguelfreitas wants to merge 248 commits into
Conversation
Refs swagger-api#10243 --------- Co-authored-by: Ebert Felix (HC/XAD1.3) <Felix.Ebert@de.bosch.com>
# [5.28.0](swagger-api/swagger-ui@v5.27.1...v5.28.0) (2025-08-28) ### Features * add initial support for React 19 ([swagger-api#10551](swagger-api#10551)) ([7a13771](swagger-api@7a13771)), closes [swagger-api#10243](swagger-api#10243)
## [5.28.1](swagger-api/swagger-ui@v5.28.0...v5.28.1) (2025-09-03) ### Bug Fixes * provide polyfill for buffer in build ([swagger-api#10554](swagger-api#10554)) ([bbb1282](swagger-api@bbb1282)), closes [swagger-api#10553](swagger-api#10553)
# [5.29.0](swagger-api/swagger-ui@v5.28.1...v5.29.0) (2025-09-09) ### Features * **oauth2-redirect:** externalize inline script for CSP compliance ([swagger-api#10559](swagger-api#10559)) ([35eb103](swagger-api@35eb103))
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@v4...v5) --- updated-dependencies: - dependency-name: actions/setup-node dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: robert-hebel-sb <robert.hebel@smartbear.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## [5.29.1](swagger-api/swagger-ui@v5.29.0...v5.29.1) (2025-09-29) ### Bug Fixes * **security:** update Axios to non-vulnerable 1.12.2 version ([swagger-api#10579](swagger-api#10579)) ([54276b9](swagger-api@54276b9))
## [5.29.2](swagger-api/swagger-ui@v5.29.1...v5.29.2) (2025-10-02) ### Bug Fixes * include oauth2-redirect.js in npm package distribution ([swagger-api#10585](swagger-api#10585)) ([443c011](swagger-api@443c011)), closes [swagger-api#10574](swagger-api#10574)
## [5.29.3](swagger-api/swagger-ui@v5.29.2...v5.29.3) (2025-10-03) ### Bug Fixes * **auth:** ensure schema is immutable when persisting authorization ([swagger-api#10588](swagger-api#10588)) ([9124f59](swagger-api@9124f59)), closes [swagger-api#10569](swagger-api#10569)
## [5.29.4](swagger-api/swagger-ui@v5.29.3...v5.29.4) (2025-10-10) ### Bug Fixes * **core:** refactor UNSAFE_ lifecycle methods in ContentType and OperationContainer ([swagger-api#10373](swagger-api#10373)) ([2814709](swagger-api@2814709)), closes [swagger-api#10212](swagger-api#10212) * ignore rendering responses with extensions in the schema ([swagger-api#10592](swagger-api#10592)) ([23e3e00](swagger-api@23e3e00)) * include script in body ([swagger-api#10593](swagger-api#10593)) ([456274c](swagger-api@456274c)) * update vulnerable libxml2 to 2.13.9-r0 ([swagger-api#10600](swagger-api#10600)) ([8138154](swagger-api@8138154)) * use h1 for title heading to improve accessibility ([swagger-api#10598](swagger-api#10598)) ([c0bd7b6](swagger-api@c0bd7b6)), closes [swagger-api#10480](swagger-api#10480)
## [5.32.15](swagger-api/swagger-ui@v5.32.14...v5.32.15) (2026-09-04) ### Bug Fixes * **oas32:** include query in default supportedSubmitMethods ([swagger-api#11021](swagger-api#11021)) ([c26e573](swagger-api@c26e573)) * use scoped DOMPurify instance to avoid mutating global ([swagger-api#11029](swagger-api#11029)) ([182fb83](swagger-api@182fb83))
# [5.33.0](swagger-api/swagger-ui@v5.32.15...v5.33.0) (2026-09-16) ### Bug Fixes * **icons:** operation copy-to-clipboard icon visibility ([swagger-api#11050](swagger-api#11050)) ([45119d8](swagger-api@45119d8)) ### Features * add virtualization for schemas and operations ([swagger-api#11019](swagger-api#11019)) ([0ad38e9](swagger-api@0ad38e9))
| }) | ||
| } | ||
|
|
||
| app.get("*", authenticate, function (req, res) { |
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio. Pull Request Developer GuidanceQuestions? See the Wiz FAQ. Please contact the Security Office if you encounter issues with Wiz pull request scanning. |
| # https://github.com/swagger-api/swagger-ui/blob/main/docs/usage/configuration.md | ||
|
|
||
| FROM nginx:1.29.1-alpine | ||
| FROM nginx:1.31.5-alpine |
There was a problem hiding this comment.
Missing User Instruction
More Details
This rule checks whether a `USER` instruction is specified in the Dockerfile. The rule fails when the `USER` instruction is missing, causing the container to run with root privileges (UID 0). If an attacker compromises an application running as root, they gain the privileges needed to potentially escape the container and attack the host node. It also increases the blast radius of a breach, allowing full control to modify files or install malware within the container. Enforcing a non-root user is a fundamental security measure that minimizes the attack surface and contains the impact of a potential compromise.
Expected
The Dockerfile stage should contain the 'USER' instruction
Found
The Dockerfile stage does not contain any 'USER' instruction
Rule ID: 6cd7a272-d9d1-4667-8224-73140fbaabdd
To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason
If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).
To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs fork with upstream swagger-api/swagger-ui.