Skip to content

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

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/braintree/sanitize-url-and-swagger-ui-6.0.2
Open

Bump @braintree/sanitize-url and swagger-ui#7
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/braintree/sanitize-url-and-swagger-ui-6.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 11, 2023

Copy link
Copy Markdown

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

Updates @braintree/sanitize-url from 4.0.1 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');

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)

5.0.0

Breaking Changes

4.1.1

  • Fixup path to type declaration (closes #25)

4.1.0

  • Add typescript types
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.25.3 to 5.1.0

Release notes

Sourced from swagger-ui's releases.

Swagger UI v5.1.0 Released!

5.1.0 (2023-06-19)

Features

Performance Improvements


NOTE: this release comes with performance enhancements that allow to display huge OpenAPI 3.1.0 definitions in SwaggerUI.

Swagger UI v5.0.0 Released!

5.0.0 (2023-06-12)

Release summary

v5.0.0 release brings support for OpenAPI 3.1.0 specification. Support for OpenAPI 3.1.0 has been introduced in fully backward compatible way.

Features

  • samples: add support for examples keyword (#8908) (4b0b285), closes #8577
  • samples: add support for const keyword (#8884) (bdad2fe), closes #8577
  • samples: add support for contains, minContains, maxContains keywords (#8896) (6549eff), closes #8577
  • samples: add support for contentEncoding keyword (#8899) (0483964), closes #8577
  • samples: add support for contentMediaType keyword (#8903) (1925622), closes #8577
  • samples: add support for contentSchema keyword (#8907) (6c622a8), closes #8577
  • samples: add support for custom formats, encoders and media types (#8905) (d72b72c), closes #8577
  • samples: add support for inferring schema type (#8909) (ce417d5), closes #8577
  • samples: add support for new values of format keyword (#8882) (28b1233), closes #8577
  • samples: add support for proper schema merging (#8910) (7bf0dd9), closes #8577
  • samples: add support for regex string format (#8891) (8a91492), closes #8577
  • samples: add support for type keyword defined as list of types (#8883) (3587696), closes #8577
  • samples: add support for uniqueItems keyword (#8893) (1114965), closes #8577
  • samples: support multipleOf keyword (#8890) (68cfe46), closes #8577
  • samples: support new semantics of exclusive number ranges (#8885) (836659d), closes #8577
  • introduce samples framework for JSON Schema 2020-12 (ac3b69f), closes #8577
  • oas31: enable overrides for samples plugin (#8731) (df9aadf), closes #8577
  • docker: add support for PORT_IPV6 environment variable (swagger-api/swagger-ui#8878)
  • docker: add support for multi platform images
  • auth: persist cookie based apiKey in document.cookie (#8689) (7ac9a8f), closes #8683
  • oas31: add support for includeReadOnly/WriteOnly options in new JSON Schema 2020-12 renderer (#8675) (75b41e0), closes #8513
  • oas31: prepare to render JSON Schema 2020-12 in Operations and Webhooks (#8670) (79e0c4e), closes #8513
  • oas31: render JSON Schema 2020-12 in Operations and Webhooks (#8673) (2f0282d), closes #8513

... (truncated)

Commits
  • 7e58562 chore(release): cut the v5.1.0 release
  • c1cc7a3 chore(deps): bump patch-package from 6.5.1 to 7.0.0 (#8927)
  • 112baec chore(deps): bump dompurify from 3.0.2 to 3.0.3 (#8931)
  • 667e55e perf(spec): increase performance of operation expansion (#8937)
  • a6c2745 feat(spec): add new specJS selector (#8936)
  • f443c58 chore(deps-dev): bump @​babel/cli from 7.21.5 to 7.22.5 (#8930)
  • 70b490c chore(deps-dev): bump css-loader from 6.7.4 to 6.8.1 (#8928)
  • b77e14f chore(deps-dev): bump @​babel/plugin-proposal-class-properties (#8925)
  • c2ed9ea chore(deps-dev): bump webpack-stats-plugin from 1.1.1 to 1.1.3 (#8923)
  • d5ebff9 chore(deps-dev): bump cypress from 12.13.0 to 12.14.0 (#8924)
  • 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](https://github.com/swagger-api/swagger-ui). These dependencies need to be updated together.


Updates `@braintree/sanitize-url` from 4.0.1 to 6.0.2
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md)
- [Commits](braintree/sanitize-url@v4.0.1...v6.0.2)

Updates `swagger-ui` from 3.25.3 to 5.1.0
- [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@v3.25.3...v5.1.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 added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 11, 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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants