Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 21, 2022

Bumps @braintree/sanitize-url to 6.0.0 and updates ancestor dependency swagger-ui-react. These dependencies need to be updated together.

Updates @braintree/sanitize-url from 5.0.0 to 6.0.0

Changelog

Sourced from @​braintree/sanitize-url's changelog.

6.0.0

Breaking Changes

  • Decode HTML characters automatically that would result in an XSS vulnerability when rendering links via a server rendered HTML file
// decodes to javacript:alert('XSS')
const vulnerableUrl =
  "&[#0000106](https://github.com/braintree/sanitize-url/issues/0000106)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000118](https://github.com/braintree/sanitize-url/issues/0000118)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000115](https://github.com/braintree/sanitize-url/issues/0000115)&[#0000099](https://github.com/braintree/sanitize-url/issues/0000099)&[#0000114](https://github.com/braintree/sanitize-url/issues/0000114)&[#0000105](https://github.com/braintree/sanitize-url/issues/0000105)&[#0000112](https://github.com/braintree/sanitize-url/issues/0000112)&[#0000116](https://github.com/braintree/sanitize-url/issues/0000116)&[#0000058](https://github.com/braintree/sanitize-url/issues/0000058)&[#0000097](https://github.com/braintree/sanitize-url/issues/0000097)&[#0000108](https://github.com/braintree/sanitize-url/issues/0000108)&[#0000101](https://github.com/braintree/sanitize-url/issues/0000101)&[#0000114](https://github.com/braintree/sanitize-url/issues/0000114)&[#0000116](https://github.com/braintree/sanitize-url/issues/0000116)&[#0000040](https://github.com/braintree/sanitize-url/issues/0000040)&[#0000039](https://github.com/braintree/sanitize-url/issues/0000039)&[#0000088](https://github.com/braintree/sanitize-url/issues/0000088)&[#0000083](https://github.com/braintree/sanitize-url/issues/0000083)&[#0000083](https://github.com/braintree/sanitize-url/issues/0000083)&[#0000039](https://github.com/braintree/sanitize-url/issues/0000039)&[#0000041](https://github.com/braintree/sanitize-url/issues/0000041)";
sanitizeUrl(vulnerableUrl); // 'about:blank'
const okUrl = "https://example.com/" + vulnerableUrl;
// since the javascript bit is in the path instead of the protocol
// this is successfully sanitized
sanitizeUrl(okUrl); // 'https://example.com/javascript:alert('XSS');

5.0.2

  • Fix issue where certain invisible white space characters were not being sanitized (#35)

5.0.1

  • Fix issue where certain safe characters were being filtered out (#31 thanks @​akirchmyer)
Commits
Maintainer changes

This version was pushed to npm by braintree, a new releaser for @​braintree/sanitize-url since your current version.


Updates swagger-ui-react from 3.36.2 to 4.15.0

Release notes

Sourced from swagger-ui-react's releases.

Swagger UI v4.15.0 Released!

4.15.0 (2022-10-20)

Features

  • example: set discriminated properties to mapped value (#8213) (f5bb456)
  • try-it-out: display validation error messages (#8212) (130a1be)

Bug Fixes

  • ui: alignment of markdown description in parameter/response columns (#8214) (7936ec9)
  • ui: change input line-height to prevent clipped characters (#8216) (a43ae1c)

Swagger UI v4.14.3 Released!

4.14.3 (2022-10-11)

Swagger UI v4.14.2 Released!

4.14.2 (2022-09-29)

Bug Fixes

Swagger UI v4.14.1 Released!

4.14.1 (2022-09-22)

Bug Fixes

  • expand model if depth <= defaultModelExpandDepth (#8186) (6c03465)
  • plugin: allow Topbar plugin to read url param on load (#8168) (94c70e2)

Swagger UI v4.14.0 Released!

4.14.0 (2022-08-17)

Features

  • Render external docs links and descriptions (#7559) (6ae2693)

Bug Fixes

  • auth: client_secret may appear in non-authcode flows while also using PKCE (#8146) (c63737d)
  • auth: define oauth2-redirect.html export in package.json (#7993) (a6e05e5)
  • oauth2: parse params properly for casdoor in redirect (#8149) (7e65155)

... (truncated)

Commits
  • 2005a0c chore(release): cut the v4.15.0 release
  • a43ae1c fix(ui): change input line-height to prevent clipped characters (#8216)
  • f5bb456 feat(example): set discriminated properties to mapped value (#8213)
  • 7936ec9 fix(ui): alignment of markdown description in parameter/response columns (#8214)
  • 130a1be feat(try-it-out): display validation error messages (#8212)
  • 0a7b3d6 ci(nodejs.yml): refactor with single cache step (#8221)
  • 278dc05 chore(release): cut the v4.14.3 release
  • 3524fdb chore(security): use minimum 16.17.1-r0 in docker image (#8222)
  • 775d307 chore(release): cut the v4.14.2 release
  • 4b5d4bd fix(xml): render example with oneOf/anyOf (#8206)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) to 6.0.0 and updates ancestor dependency [swagger-ui-react](https://github.com/swagger-api/swagger-ui). These dependencies need to be updated together.


Updates `@braintree/sanitize-url` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/braintree/sanitize-url/releases)
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md)
- [Commits](braintree/sanitize-url@v5.0.0...v6.0.0)

Updates `swagger-ui-react` from 3.36.2 to 4.15.0
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](swagger-api/swagger-ui@v3.36.2...v4.15.0)

---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
  dependency-type: indirect
- dependency-name: swagger-ui-react
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 21, 2022
@vfateev vfateev force-pushed the master branch 4 times, most recently from e788c9a to e859ed6 Compare November 1, 2022 09:32
@vfateev vfateev force-pushed the master branch 3 times, most recently from 379617e to e66c872 Compare February 2, 2023 11:58
@vfateev vfateev force-pushed the master branch 2 times, most recently from 8e6c980 to bd6079a Compare May 19, 2023 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant