Added better configurability for comment scrubbing default behavior
Added better hardening against Prototype Pollution attacks, thanks @kevin-mizu
Added better handling and readability of the nodeType property, thanks @ssi02014
Fixed some smaller issues in README and other documentation
DOMPurify 3.1.2
Addressed and fixed a mXSS variation found by @kevin-mizu
Addressed and fixed a mXSS variation found by Adam Kues of Assetnote
Updated tests for older Safari and Chrome versions
DOMPurify 3.1.1
Fixed an mXSS sanitiser bypass reported by @icesfont
Added new code to track element nesting depth
Added new code to enforce a maximum nesting depth of 255
Added coverage tests and necessary clobbering protections
Note that this is a security release and should be upgraded to immediately. Please also note that further releases may follow as the underlying vulnerability is apparently new and further variations may be discovered.
DOMPurify 3.1.0
Added new setting SAFE_FOR_XML to enable better control over comment scrubbing
Updated README to warn about happy-dom not being safe for use with DOMPurify yet
Updated the LICENSE file to show the accurate year number
Updated several build and test dependencies
DOMPurify 3.0.11
Fixed another conditional bypass caused by Processing Instructions, thanks @Ry0taK
Fixed the regex for HTML Custom Element detection, thanks @AlekseySolovey3T
DOMPurify 3.0.10
Fixed two possible bypasses when sanitizing an XML document and later using it in HTML, thanks @Slonser
Bumped up some build and test dependencies
DOMPurify 3.0.9
Fixed a problem with proper detection of Custom Elements, thanks @kevin-mizu
Refactored the hasOwnProperty logic, thanks @ssi02014
Removed a superfluous console.warn making HappyDom happier, thanks @HugoPoi
Modernized some of the demo hooks for better looks, thanks @Steb95
DOMPurify 3.0.8
Fixed errors caused by conditional exports, thanks @ssi02014
Fixed a type error when working with custom element config, thanks @cpmotion
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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](https://github.com/cisagov/XFD/network/alerts).
Bumps dompurify to 3.1.4 and updates ancestor dependency swagger-ui-react. These dependencies need to be updated together.
Updates
dompurify
from 3.0.2 to 3.1.4Release notes
Sourced from dompurify's releases.
... (truncated)
Commits
7517e9c
Merge pull request #960 from cure53/main3ddb7f2
chore: Preparing 3.1.4 release4486f91
test: Experimentally changed TEST_PROBE_ONLY to not cover 2.x1223487
fix: Added MSIE number check fix to main as wella34860b
Merge pull request #957 from Gigabyte5671/popover-api96bf0d4
Merge pull request #956 from MortenHofft/patch-128c1828
Add popover attributes to allow list952f309
documentation3fe78d7
chore: Preparing 3.1.3 releaseb20ce99
fix: Added smaller-than-null check for __depth hardening codeUpdates
swagger-ui-react
from 4.19.1 to 5.17.14Release notes
Sourced from swagger-ui-react's releases.
... (truncated)
Commits
74ed0ad
chore(release): cut the v5.17.14 release8aa5292
fix(system): remediate component wrapping functionality (#9978)c74fb2c
chore(release): cut the v5.17.13 release31b35fd
ci(dependabot): use times that don't conflict with releases (#9975)df03a8f
fix(swagger-ui-react): re-render on spec prop change (#9966)e57d0be
chore(deps-dev): bump postcss-preset-env from 9.5.13 to 9.5.14 (#9962)767e498
chore(deps-dev): bump css-loader from 7.1.1 to 7.1.2 (#9959)7bf16be
refactor(config): remove unused config options (#9958)ee335f2
docs(SECURITY): align supported versions with reality (#9957)11cf64d
--- (#9956)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 show