Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @braintree/sanitize-url and swagger-ui #329

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 7, 2022

Bumps @braintree/sanitize-url and swagger-ui. These dependencies needed to be updated together.
Updates @braintree/sanitize-url from 5.0.2 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');

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 from 3.52.5 to 4.14.0

Release notes

Sourced from swagger-ui's releases.

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)

Swagger UI v4.13.2 Released!

4.13.2 (2022-08-02)

Bug Fixes

  • build: mitigate regressions to build framents in v4.13.1 (#8137) (9221ff8), closes #8136

Swagger UI v4.13.1 Released!

4.13.1 (2022-08-01)

Bug Fixes

  • ux: responsive ui display (#8132) (c36f240)
  • jsdom: cumulative Jest updates with support for TextEncoder/TextDecoder (#8111) (b89e885)
  • lint: upcoming eslint@8 reported errors (#8105) (d68b748)

Swagger UI v4.13.0 Released!

4.13.0 (2022-07-19)

Features

  • provide Topbar Logo as a wrappable component (#7521) (878e848)
  • ux: add copy to clipboard to operation summary (#8094) (0d5227b)

Bug Fixes

Swagger UI v4.12.0 Released!

4.12.0 (2022-06-03)

... (truncated)

Commits
  • 424d704 chore(release): cut the v4.14.0 release
  • ae10831 chore(deps-dev): bump release-it and conventional-changelog (#8158)
  • 6ae2693 feat: Render external docs links and descriptions (#7559)
  • 7dd167b docs(setting-up): reword how SwaggerUI reflects Node.js releases (#8142)
  • 9891d97 docs: fix typos and update https references (#8154)
  • 7e65155 fix(oauth2): parse params properly for casdoor in redirect (#8149)
  • a6e05e5 fix(auth): define oauth2-redirect.html export in package.json (#7993)
  • c63737d fix(auth): client_secret may appear in non-authcode flows while also using PK...
  • 46dece6 chore(deps-dev): bump webpack-cli from 4.9.2 to 4.10.0 (#8147)
  • cb68be7 chore(deps-dev): bump json-merger from 1.1.7 to 1.1.9 (#8139)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 7, 2022
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) and [swagger-ui](https://github.com/swagger-api/swagger-ui). These dependencies needed to be updated together.

Updates `@braintree/sanitize-url` from 5.0.2 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.2...v6.0.0)

Updates `swagger-ui` from 3.52.5 to 4.14.0
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Commits](swagger-api/swagger-ui@v3.52.5...v4.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/braintree/sanitize-url-and-swagger-ui-6.0.0 branch from 184b776 to 8d7035e Compare January 18, 2023 18: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.

0 participants