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-react #628

Open
wants to merge 1 commit into
base: v3-development
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 23, 2023

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

Updates @braintree/sanitize-url from 5.0.2 to 6.0.2

Changelog

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

6.0.2

  • Fix issue where urls in the form https://example.com

/something were not properly sanitized

6.0.1

  • Fix issue where urls in the form javascript:alert('xss'); were not properly sanitized
  • Fix issue where urls in the form javasc	ript:alert('XSS'); were not properly sanitized

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-react from 4.1.3 to 4.18.1

Release notes

Sourced from swagger-ui-react's releases.

Swagger UI v4.18.1 Released!

4.18.1 (2023-03-10)

Fixes

Swagger UI v4.18.0 Released!

4.18.0 (2023-03-08)

Bug Fixes

Features

  • swagger-ui-react: add showCommonExtensions option (#8436) (6b56e38)

Swagger UI v4.17.1 Released!

4.17.1 (2023-03-06)

Bug Fixes

  • docker: add missing ipv6 all-interfaces binding (#8438) (51b45e7), closes #8437
  • docker: use vulnerability free Node.js=>18.14.1-r0 (#8440) (a88f02b)

Swagger UI v4.17.0 Released!

4.17.0 (2023-03-01)

Features


NOTE: SwaggerUI@4.17.0 comes with swagger-client@3.19.0-beta.8, which integrates with ApiDOM. ApiDOM has some optional dependencies that might fail to install, but you can safely ignore the failures, as those dependencies are optional.

Swagger UI v4.16.1 Released!

4.16.1 (2023-02-25)

Reverts

Swagger UI v4.16.0 Released!

... (truncated)

Commits
  • c9d9406 chore(release): cut the v4.18.1 release
  • 1ea30f1 chore(deps-dev): bump @​babel/register from 7.17.0 to 7.21.0 (#8459)
  • 1adaf8f chore(deps-dev): bump @​babel/plugin-proposal-optional-chaining (#8457)
  • 1a9b3c1 ci(nodejs): run workflow on next branch (#8455)
  • 32b3894 chore(release): cut the v4.18.0 release
  • 4751ab6 chore(deps): update swagger-client from v3.19.0 to v3.19.1 (#8454)
  • 66ce643 chore(deps): update swagger-client from v3.19.0 to v3.19.1 (#8453)
  • 6b56e38 feat(swagger-ui-react): add showCommonExtensions option (#8436)
  • 9895e37 chore(deps-dev): bump rimraf from 3.0.2 to 4.3.1 (#8451)
  • f3162d3 chore(deps): bump react-redux from 7.2.9 to 8.0.5 (#8452)
  • 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) to 6.0.2 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.2 to 6.0.2
- [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.2)

Updates `swagger-ui-react` from 4.1.3 to 4.18.1
- [Release notes](https://github.com/swagger-api/swagger-ui/releases)
- [Changelog](https://github.com/swagger-api/swagger-ui/blob/master/.releaserc)
- [Commits](swagger-api/swagger-ui@v4.1.3...v4.18.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 23, 2023
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.

None yet

0 participants