smartAPI
smartAPI copied to clipboard
build(deps): bump @braintree/sanitize-url and swagger-ui in /web-app
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 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

/somethingwere not properly sanitized6.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 sanitized6.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
14a14e86.0.2b8eb575chore: update changeloga39ca11fix: remove newline entities (#46)ab8d43d6.0.1768e954chore: update version in changelogd4bdc89Fix html entity tab (#45)b70161dchore: fix CHANGELOG formattingeb4a764chore: update dev dependencies071dbfbchore: update dependencies34fc6436.0.0- Additional commits viewable in compare view
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 4.1.3 to 4.19.1
Release notes
Sourced from swagger-ui's releases.
Swagger UI v4.19.1 Released!
4.19.1 (2023-06-12)
Bug Fixes
- export standalone preset from the npm package (#8906) (cdd0bdd), closes #8163
- request-body: fix immutable prop types validation (#8307) (07a08cd)
Swagger UI v4.19.0 Released!
4.19.0 (2023-05-24)
Bug Fixes
Features
Enhancements
Swagger UI v4.18.3 Released!
4.18.3 (2023-04-26)
Bug Fixes
Swagger UI v4.18.2 Released!
4.18.2 (2023-03-30)
Bug Fixes
- decode model schema name on model component (#8400) (44e2700), closes #5626
- oas3: expand Callback operation without browser error (#8510) (cb15dbb), closes #7465
Swagger UI v4.18.1 Released!
4.18.1 (2023-03-10)
Fixes
- reserve latest tag for swaggerapi/swagger-ui docker image for 4.x.y release channel
... (truncated)
Commits
92ffd76chore(release): cut the v4.19.1 release75a8f34chore(deps): bump@babel/runtime-corejs3from 7.21.5 to 7.22.5 (#8918)a9d497cchore(deps-dev): bump jsdom from 21.1.1 to 22.1.0 (#8726)675c1c9chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.2.1 (#8713)07a08cdfix(request-body): fix immutable prop types validation (#8307)cdd0bddfix: export standalone preset from the npm package (#8906)75c78b0ci(docker): add support forrepository_dispatchevent type (#8876)49da686ci(docker): provide better descriptionsad405d0ci(docker): distinguish docker_ref and git_ref inputs (#8874)56838edci(docker): set provenance=false when building image- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.