dependabot[bot] opened a new pull request, #4271:
URL: https://github.com/apache/ambari/pull/4271

   Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.1 to 3.5.0.
   <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 3.5.0</h2>
   <p>This release contains security fixes and a few behavior changes, see 
below. There will be no further 3.4.x release.</p>
   <h3>Changelog</h3>
   <ul>
   <li>Fixed a further <code>SAFE_FOR_TEMPLATES</code> bypass where nested tags 
could reassemble expressions on reparse, thanks <a 
href="https://github.com/e1abrador";><code>@​e1abrador</code></a></li>
   <li>Fixed several ways for DOM-built input to get a template expression past 
<code>SAFE_FOR_TEMPLATES</code>: entity-encoded text in a <code>style</code> 
element nested in a <code>textarea</code> or <code>title</code>, text hidden in 
the children of a void element, NUL characters splitting a marker, and comments 
that end early on reparse</li>
   <li>Fixed several gaps in the <code>IN_PLACE</code> fail-closed handling: a 
rejected root is now neutralized inside its open shadow roots, a failed call no 
longer leaves text or comments in the root, and a removed node that a hook or 
custom element puts back is sanitized again</li>
   <li>Fixed a case where <code>IN_PLACE</code> never returned because a custom 
element or hook kept re-inserting a removed node, the call now fails closed</li>
   <li>Fixed custom elements kept via <code>CUSTOM_ELEMENT_HANDLING</code> 
skipping the namespace check</li>
   <li>Fixed a crash in the attribute loop when an 
<code>uponSanitizeAttribute</code> hook removed several attributes of the 
current node</li>
   <li>Fixed a <code>sanitize()</code> call made from inside a hook or config 
callback replacing the config of the outer call</li>
   <li>Fixed the types for <code>RETURN_DOM</code>, see <a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1728";>#1728</a>, 
thanks <a 
href="https://github.com/YevheniiKotyrlo";><code>@​YevheniiKotyrlo</code></a></li>
   <li>Added in-depth hardening against clobbering for 
<code>IN_PLACE</code></li>
   <li>Added regression tests for all of the above</li>
   <li>Reworked the CI setup: one always-on workflow with a single required 
check, a read-only build job for the SLSA provenance, and a check that the 
tagged <code>dist/</code> matches a clean build</li>
   <li>Extended the Sigstore signatures to all four bundles covered by the 
provenance</li>
   <li>Updated the README, SECURITY.md and wiki</li>
   <li>Updated several dependencies</li>
   </ul>
   <h3>Behavioral changes</h3>
   <ul>
   <li><code>SAFE_FOR_TEMPLATES</code> is guaranteed for string input. For DOM 
node input and <code>IN_PLACE</code> it is best effort, because a tree the HTML 
parser did not build can change shape when it is parsed again</li>
   <li>A name passing <code>CUSTOM_ELEMENT_HANDLING.tagNameCheck</code> is only 
kept in HTML. Inside SVG or MathML it is not a custom element and is now 
removed</li>
   <li>When a DOM node is passed in, a <code>textarea</code> or 
<code>title</code> holding an element child and a void element holding children 
are removed. The HTML parser never produces these, so string input is not 
affected</li>
   <li>A <code>sanitize()</code> call made from a hook no longer changes how 
the rest of the outer call behaves. Code that relied on the old side effect 
needs to pass the config explicitly</li>
   <li><code>IN_PLACE</code> now throws when a hook or custom element keeps 
putting a removed node back, instead of returning the node or running 
indefinitely</li>
   </ul>
   <h2>DOMPurify 3.4.18</h2>
   <ul>
   <li>Fixed a <code>SAFE_FOR_TEMPLATES</code> bypass where the final scrub cut 
through tags and let a template expression form on reparse, thanks <a 
href="https://github.com/e1abrador";><code>@​e1abrador</code></a></li>
   <li>Fixed a direct property read in the clobbering check, thanks <a 
href="https://github.com/trace37labs";><code>@​trace37labs</code></a></li>
   <li>Removed several entries from the SVG tag allow-list that are attributes 
and not elements, thanks <a 
href="https://github.com/hackvertor";><code>@​hackvertor</code></a></li>
   <li>Added a console warning when <code>USE_PROFILES</code> is combined with 
<code>ALLOWED_TAGS</code> or <code>ALLOWED_ATTR</code>, thanks <a 
href="https://github.com/rugk";><code>@​rugk</code></a></li>
   <li>Refactored the code base: removed dead code and redundant helpers, 
shortened comments</li>
   <li>Fixed a hook-widened allow-list carrying over when the config object 
received by a hook was passed back to <code>sanitize()</code></li>
   <li>Documented that the content of closed shadow roots cannot be sanitized 
(README and wiki)</li>
   <li>Updated the README, the wiki and the list of contributors</li>
   <li>Updated several dependencies</li>
   </ul>
   <h2>DOMPurify 3.4.17</h2>
   <ul>
   <li>Fixed an issue with <code>IN_PLACE</code>, 
<code>SAFE_FOR_TEMPLATES</code> and shadow roots, thanks <a 
href="https://github.com/manus-pi";><code>@​manus-pi</code></a></li>
   <li>Fixed <code>IN_PLACE</code> handling of nodes that hooks or custom 
elements tough during sanitization, thanks <a 
href="https://github.com/uttej-badwane";><code>@​uttej-badwane</code></a></li>
   <li>Fixed the SMIL <code>attributeName</code> guard in XHTML mode, thanks <a 
href="https://github.com/Koukyosyumei";><code>@​Koukyosyumei</code></a></li>
   <li>Hardened several smaller edge cases (namespaces, literal-text elements, 
<code>isValidAttribute()</code>), thanks <a 
href="https://github.com/artiphishell";><code>@​artiphishell</code></a></li>
   <li>Added a purify-edge test runner as a compatibility check, thanks <a 
href="https://github.com/anzal1";><code>@​anzal1</code></a></li>
   <li>Clarified the <code>IN_PLACE</code> documentation in the README about 
possible risks</li>
   <li>Updated several dependencies</li>
   </ul>
   <h2>DOMPurify 3.4.16</h2>
   <ul>
   <li>Fixed a problem with <code>IN_PLACE</code> node removal when working 
with hooks, thanks <a 
href="https://github.com/manus-pi";><code>@​manus-pi</code></a></li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/d05b24333a25f6f2e949493749523563f15230e2";><code>d05b243</code></a>
 release: 3.5.0 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1744";>#1744</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/37abc335c6a0aad2ac4f9dce6bd256d40c17acc4";><code>37abc33</code></a>
 release: 3.4.18 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1725";>#1725</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/a77a3e78b59f72fa4d1c83f22e121ad9cc7d3575";><code>a77a3e7</code></a>
 release: 3.4.17 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1672";>#1672</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/b9b9d80f7e401771c2ccaef5f45def7eec8f27d7";><code>b9b9d80</code></a>
 release: 3.4.16 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1636";>#1636</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/1d7460c4f8a27be825c11b1c9d346d79db32c1e5";><code>1d7460c</code></a>
 release: 3.4.15 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1609";>#1609</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/4e6fe24173f1a85eafacd95e3c82966e29d34d49";><code>4e6fe24</code></a>
 release: 3.4.14 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1587";>#1587</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/3067f774676975de12306effd6db6ad7a9a8c17f";><code>3067f77</code></a>
 release: 3.4.13 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1562";>#1562</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/a9ca1e537422319a557a9a2aa61f003b23b4a197";><code>a9ca1e5</code></a>
 release: 3.4.12 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1537";>#1537</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/0cae5187403132f96a6d357649e4b15633fc210a";><code>0cae518</code></a>
 release: 3.4.11 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1494";>#1494</a>)</li>
   <li><a 
href="https://github.com/cure53/DOMPurify/commit/6ee5716f8336989753611beeca364957c0eb0c3e";><code>6ee5716</code></a>
 release: 3.4.10 (<a 
href="https://redirect.github.com/cure53/DOMPurify/issues/1478";>#1478</a>)</li>
   <li>Additional commits viewable in <a 
href="https://github.com/cure53/DOMPurify/compare/3.3.1...3.5.0";>compare 
view</a></li>
   </ul>
   </details>
   <details>
   <summary>Install script changes</summary>
   <p>This version adds <code>prepare</code> script that runs during 
installation. Review the package contents before updating.</p>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dompurify&package-manager=npm_and_yarn&previous-version=3.3.1&new-version=3.5.0)](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 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/apache/ambari/network/alerts).
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to