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

chore(deps): dsw-000 update dependency dompurify to v3.1.3 [security] - autoclosed #1865

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 16, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dompurify 3.0.11 -> 3.1.3 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-45801

It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check.

This renders dompurify unable to avoid XSS attack.

Fixed by cure53/DOMPurify@1e52026 (3.x branch) and cure53/DOMPurify@26e1d69 (2.x branch).


Release Notes

cure53/DOMPurify (dompurify)

v3.1.3: DOMPurify 3.1.3

Compare Source

  • Fixed several mXSS variations found by and thanks to @​kevin-mizu & @​Ry0taK
  • 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

v3.1.2: DOMPurify 3.1.2

Compare Source

  • 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

v3.1.1: DOMPurify 3.1.1

Compare Source

  • 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.

v3.1.0: DOMPurify 3.1.0

Compare Source

  • 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

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Sep 16, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: yarn.lock
/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609
    throw new Error(
          ^

Error: Error when performing the request to https://registry.npmjs.org/yarn/latest; for troubleshooting help, see https://github.com/nodejs/corepack#troubleshooting
    at fetch (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21609:11)
    at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
    ... 4 lines matching cause stack trace ...
    at async Object.runMain (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5) {
  [cause]: TypeError: globalThis.fetch is not a function
      at fetch (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21603:33)
      at async fetchAsJson (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21623:20)
      at async fetchLatestStableVersion (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21550:20)
      at async fetchLatestStableVersion2 (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:21672:14)
      at async Engine.getDefaultVersion (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22292:23)
      at async Engine.executePackageManagerRequest (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:22390:47)
      at async Object.runMain (/opt/containerbase/tools/corepack/0.29.4/16.20.2/node_modules/corepack/dist/lib/corepack.cjs:23096:5)
}

@renovate renovate bot requested review from a team as code owners September 16, 2024 22:13
Copy link

changeset-bot bot commented Sep 16, 2024

⚠️ No Changeset found

Latest commit: b137bc9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 16, 2024 22:22 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 933d6a7 to 0d16352 Compare September 17, 2024 08:46
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 17, 2024 08:52 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 0d16352 to 3694396 Compare September 17, 2024 09:19
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 17, 2024 09:25 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 3694396 to e5d30e9 Compare September 17, 2024 12:22
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 17, 2024 12:28 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from e5d30e9 to 81feaa8 Compare September 18, 2024 07:59
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 18, 2024 08:05 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 81feaa8 to 7db94b1 Compare September 18, 2024 09:06
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 18, 2024 09:12 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 7db94b1 to f0bd397 Compare September 18, 2024 15:38
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 18, 2024 15:44 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from f0bd397 to e04ea61 Compare September 19, 2024 08:06
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 19, 2024 08:12 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from e04ea61 to 153bb34 Compare September 19, 2024 08:42
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 19, 2024 08:48 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from 153bb34 to b137bc9 Compare September 19, 2024 13:22
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 19, 2024 13:30 Inactive
@renovate renovate bot force-pushed the renovate/npm-dompurify-vulnerability branch from b137bc9 to edecbb6 Compare September 20, 2024 07:41
@github-actions github-actions bot temporarily deployed to pie-storybook-pr-1865 September 20, 2024 07:47 Inactive
@renovate renovate bot changed the title chore(deps): dsw-000 update dependency dompurify to v3.1.3 [security] chore(deps): dsw-000 update dependency dompurify to v3.1.3 [security] - autoclosed Sep 20, 2024
@renovate renovate bot closed this Sep 20, 2024
@renovate renovate bot deleted the renovate/npm-dompurify-vulnerability branch September 20, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants