Skip to content

Commit

Permalink
Bump dompurify from 2.3.1 to 2.5.4 in /tgui (#3379)
Browse files Browse the repository at this point in the history
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.1 to
2.5.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/cure53/DOMPurify/releases">dompurify's
releases</a>.</em></p>
<blockquote>
<h2>DOMPurify 2.5.4</h2>
<ul>
<li>Fixed a bug with latest <code>isNaN</code> checks affecting MSIE,
thanks <a
href="https://github.com/tulach"><code>@​tulach</code></a></li>
<li>Fixed the tests for MSIE and fixed related test-runner</li>
</ul>
<h2>DOMPurify 2.5.3</h2>
<ul>
<li>Fixed several mXSS variations found by and thanks to <a
href="https://github.com/kevin-mizu"><code>@​kevin-mizu</code></a> &amp;
<a href="https://github.com/Ry0taK"><code>@​Ry0taK</code></a></li>
<li>Added better configurability for comment scrubbing default
behavior</li>
<li>Added better hardening against Prototype Pollution attacks, thanks
<a
href="https://github.com/kevin-mizu"><code>@​kevin-mizu</code></a></li>
<li>Fixed some smaller issues in README and other documentation</li>
</ul>
<h2>DOMPurify 2.5.2</h2>
<ul>
<li>Addressed and fixed a mXSS variation found by <a
href="https://github.com/kevin-mizu"><code>@​kevin-mizu</code></a></li>
<li>Addressed and fixed a mXSS variation found by <a
href="https://twitter.com/hash_kitten">Adam Kues</a> of Assetnote</li>
<li>Updated tests for older Safari and Chrome versions</li>
</ul>
<h2>DOMPurify 2.5.1</h2>
<ul>
<li>Fixed an mXSS sanitizer bypass reported by <a
href="https://github.com/icesfont"><code>@​icesfont</code></a></li>
<li>Added new code to track element nesting depth</li>
<li>Added new code to enforce a maximum nesting depth of 255</li>
<li>Added coverage tests and necessary clobbering protections</li>
</ul>
<p><strong>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.</strong></p>
<h2>DOMPurify 2.5.0</h2>
<ul>
<li>Added new setting <code>SAFE_FOR_XML</code> to enable better control
over comment scrubbing</li>
<li>Updated the LICENSE file to show the accurate year number</li>
<li>Updated several build and test dependencies</li>
</ul>
<h2>DOMPurify 2.4.9</h2>
<ul>
<li>Fixed another conditional bypass caused by Processing Instructions,
thanks <a
href="https://github.com/Ry0taK"><code>@​Ry0taK</code></a></li>
<li>Fixed the regex for HTML Custom Element detection, thanks <a
href="https://github.com/AlekseySolovey3T"><code>@​AlekseySolovey3T</code></a></li>
</ul>
<h2>DOMPurify 2.4.8</h2>
<ul>
<li>Fixed two possible bypasses when sanitizing an XML document and
later using it in HTML, thanks <a
href="https://github.com/Slonser"><code>@​Slonser</code></a></li>
</ul>
<h2>DOMPurify 2.4.7</h2>
<ul>
<li>Fixed a licensing issue spotted and reported by <a
href="https://github.com/george-thomas-hill"><code>@​george-thomas-hill</code></a></li>
</ul>
<h2>DOMPurify 2.4.6</h2>
<ul>
<li>Fixed a bypass in jsdom 22 in case the <code>noframes</code> element
is permitted, thanks <a
href="https://github.com/leeN"><code>@​leeN</code></a></li>
</ul>
<h2>DOMPurify 2.4.5</h2>
<ul>
<li>Fixed a problem with improper reset of custom HTML options, thanks
<a
href="https://github.com/ammaraskar"><code>@​ammaraskar</code></a></li>
</ul>
<h2>DOMPurify 2.4.4</h2>
<ul>
<li>Added support for <code>ALLOW_SELF_CLOSE_IN_ATTR</code> flag, thanks
<a href="https://github.com/edg2s"><code>@​edg2s</code></a> <a
href="https://github.com/AndreVirtimo"><code>@​AndreVirtimo</code></a></li>
<li>Added better support for <code>shadowrootmode</code>, thanks <a
href="https://github.com/mfreed7"><code>@​mfreed7</code></a></li>
</ul>
<h2>DOMPurify 2.4.3</h2>
<ul>
<li>Final release that is compatible with MSIE10 &amp; MSIE 11</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/cure53/DOMPurify/commit/10c12610b15875ea09129c35fca28a886857434f"><code>10c1261</code></a>
docs: Updated README ever so slightly</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/1c9288095c41f48c1a5dcfda72f615320b27b3ad"><code>1c92880</code></a>
test: Fixed two more tests for MSIE11 and Edge 18</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/14012082720e48f7f9134d3c53f280ba4dba2058"><code>1401208</code></a>
test: Fixed more tests for MSIE and Edge 18</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/2c6410a637eae71a51b2fa6d8cdd2bde7b2aa125"><code>2c6410a</code></a>
test: Fixed several new tests for MSIE11 and Edge 18</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/2c9bca957c28bb73ecc9544cea379e41963276c4"><code>2c9bca9</code></a>
test: Changed github config to include MSIE tests for 2.x</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/b188787889deb66eb3b0c73b857e77e889ee9912"><code>b188787</code></a>
chore: Preparing 2.5.4 release</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/707b3d682451b69c003c4ecb363550b93ef595a9"><code>707b3d6</code></a>
fix: Added a better for for the MSIE iNaN issue</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/62fe3be09ad4dca4ff8671272baf15f512872b5e"><code>62fe3be</code></a>
test: Attempting to get MSIE 11 back into the browser test array</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/f3a97107b29e6af78884e05a63638622eddb6df6"><code>f3a9710</code></a>
fix: Fixed an issue with MSIE and no support for Number.isNaN</li>
<li><a
href="https://github.com/cure53/DOMPurify/commit/e1ddfc7b5e6d6599c369f826699b0204e2c691b9"><code>e1ddfc7</code></a>
Merge branch '2.x' of github.com:cure53/DOMPurify into 2.x</li>
<li>Additional commits viewable in <a
href="https://github.com/cure53/DOMPurify/compare/2.3.1...2.5.4">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dompurify&package-manager=npm_and_yarn&previous-version=2.3.1&new-version=2.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 <dependency name> 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/shiptest-ss13/Shiptest/network/alerts).

</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Oct 17, 2024
1 parent ae151ed commit b00b233
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "4.3.1",
"dependencies": {
"common": "workspace:*",
"dompurify": "^2.3.1",
"dompurify": "^2.5.4",
"inferno": "^7.4.8",
"tgui": "workspace:*",
"tgui-dev-server": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion tgui/packages/tgui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"@types/marked": "^4.0.8",
"common": "workspace:*",
"dateformat": "^4.5.1",
"dompurify": "^2.3.1",
"dompurify": "^2.5.4",
"highlight.js": "^11.5.1",
"inferno": "^7.4.8",
"inferno-vnode-flags": "^7.4.8",
Expand Down
12 changes: 6 additions & 6 deletions tgui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3910,10 +3910,10 @@ __metadata:
languageName: node
linkType: hard

"dompurify@npm:^2.3.1":
version: 2.3.1
resolution: "dompurify@npm:2.3.1"
checksum: 9c93cfaa9d1d0b31aa2e926ebfa0621287a63ebb16277c94ad4aad2bcf3ad12e609e699fc10f2eaf69e4698e29a31dec87a69f3c6725ce3f4c7a69ee93123d0c
"dompurify@npm:^2.5.4":
version: 2.5.7
resolution: "dompurify@npm:2.5.7"
checksum: 9652139743130b5ebaf5278fadec06d9b3920019b80c205565b9b8d52cd0cea90ff690c1994c5c0da5bc9d57a94dc19236cdf1ccabdc1c6cff7c255e1e597031
languageName: node
linkType: hard

Expand Down Expand Up @@ -8953,7 +8953,7 @@ resolve@^2.0.0-next.3:
resolution: "tgui-panel@workspace:packages/tgui-panel"
dependencies:
common: "workspace:*"
dompurify: ^2.3.1
dompurify: ^2.5.4
inferno: ^7.4.8
tgui: "workspace:*"
tgui-dev-server: "workspace:*"
Expand Down Expand Up @@ -9037,7 +9037,7 @@ resolve@^2.0.0-next.3:
"@types/marked": ^4.0.8
common: "workspace:*"
dateformat: ^4.5.1
dompurify: ^2.3.1
dompurify: ^2.5.4
highlight.js: ^11.5.1
inferno: ^7.4.8
inferno-vnode-flags: ^7.4.8
Expand Down

0 comments on commit b00b233

Please sign in to comment.