dependabot[bot] opened a new pull request, #1651:
URL: https://github.com/apache/airflow-site/pull/1651

   Bumps the npm-security group with 1 update in the /landing-pages directory: 
[svgo](https://github.com/svg/svgo).
   
   Updates `svgo` from 4.0.2 to 4.1.0
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a href="https://github.com/svg/svgo/releases";>svgo's 
releases</a>.</em></p>
   <blockquote>
   <h2>v4.1.0</h2>
   <p>This minor release upgrades the SAX parser and introduces stricter XML 
validation. It also includes important security hardening for 
<code>removeScripts</code>, dependency updates, and improvements to the test 
and regression infrastructure.</p>
   <h3>Support SVGO</h3>
   <p>If SVGO is valuable to you or your organization, please consider <a 
href="https://opencollective.com/svgo";>supporting the project on 
OpenCollective</a>. Your sponsorship helps fund ongoing maintenance and 
security work.</p>
   <h3>Stricter XML validation</h3>
   <p>SVGO now uses <a 
href="https://www.npmjs.com/package/sax";><code>sax</code> 1.6.1</a>, upgraded 
from 1.5.0 (<a 
href="https://redirect.github.com/svg/svgo/pull/2257";>#2257</a>).</p>
   <p>The new parser version validates numeric character references against the 
ranges permitted by XML. Invalid references are now rejected in both text and 
attributes, including:</p>
   <ul>
   <li>disallowed control characters such as 
<code>&amp;[#1](https://github.com/svg/svgo/issues/1);</code>, 
<code>&amp;#xB;</code>, and <code>&amp;#x1F;</code>;</li>
   <li>UTF-16 surrogate code points such as <code>&amp;#xD800;</code>;</li>
   <li>invalid XML code points such as <code>&amp;#xFFFF;</code>.</li>
   </ul>
   <p>Valid boundary values—including <code>U+0020</code>, <code>U+D7FF</code>, 
<code>U+E000</code>, <code>U+FFFD</code>, and characters through 
<code>U+10FFFF</code>—remain supported.</p>
   <p>Parser failures are consistently exposed as <code>SvgoParserError</code> 
errors with an <code>Invalid character entity</code> reason.</p>
   <p>This is an intentional behavior change: malformed SVGs that were 
previously accepted may now produce a parser error, while valid XML documents 
are unaffected.</p>
   <h3>Security</h3>
   <p>The <a 
href="https://svgo.dev/docs/plugins/removeScripts/";><code>removeScripts</code></a>
 plugin has been hardened against several script-execution bypasses:</p>
   <ul>
   <li>Filters executable <code>data:</code> URLs containing HTML, XHTML, or 
SVG documents while preserving inert data such as PNG images, and filters 
legacy <code>vbscript:</code> URLs (<a 
href="https://redirect.github.com/svg/svgo/pull/2263";>#2263</a>).</li>
   <li>Sanitizes content inside SVG <code>&lt;foreignObject&gt;</code> elements 
by removing HTML event-handler attributes, <code>srcdoc</code>, and executable 
URLs from <code>action</code>, <code>data</code>, <code>formaction</code>, 
<code>href</code>, and <code>src</code>, while preserving non-executable HTML 
and visual content (<a 
href="https://redirect.github.com/svg/svgo/pull/2264";>#2264</a>).</li>
   <li>Recognizes namespace-prefixed SVG <code>&lt;a&gt;</code> elements and 
removes ASCII tabs and newlines before checking URL schemes, preventing values 
such as 
<code>java&amp;[#9](https://github.com/svg/svgo/issues/9);script:</code> from 
bypassing detection while preserving elements in unrelated custom namespaces 
(<a href="https://redirect.github.com/svg/svgo/pull/2268";>#2268</a>).</li>
   </ul>
   <p>These changes address:</p>
   <ul>
   <li><a 
href="https://github.com/svg/svgo/security/advisories/GHSA-4vpr-x523-8j87";>GHSA-4vpr-x523-8j87</a></li>
   <li><a 
href="https://github.com/svg/svgo/security/advisories/GHSA-w27v-7q3p-w38r";>GHSA-w27v-7q3p-w38r</a></li>
   </ul>
   <h3>Dependencies</h3>
   <ul>
   <li>Upgraded <code>css-select</code> to v6 and <code>css-what</code> to v7, 
and updated SVGO's custom selector adapter for <code>css-select</code> v6 (<a 
href="https://redirect.github.com/svg/svgo/pull/2244";>#2244</a>).</li>
   </ul>
   <h3>Project maintenance</h3>
   <p><a href="https://github.com/TrySound";><code>@​TrySound</code></a> is back 
as an active SVGO maintainer.</p>
   <p>Many thanks to <a 
href="https://github.com/KTibow";><code>@​KTibow</code></a>, <a 
href="https://github.com/SethFalco";><code>@​SethFalco</code></a>, and <a 
href="https://github.com/XhmikosR";><code>@​XhmikosR</code></a> for maintaining 
and improving SVGO over the past several years.</p>
   <p><strong>Full Changelog:</strong> <a 
href="https://github.com/svg/svgo/compare/v4.0.2...v4.1.0";>https://github.com/svg/svgo/compare/v4.0.2...v4.1.0</a></p>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/svg/svgo/commit/5765cbe4e0a930dca648c6b81d335b1522cd7375";><code>5765cbe</code></a>
 chore: prepare v4.1.0 release (<a 
href="https://redirect.github.com/svg/svgo/issues/2275";>#2275</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/3db3ef33e409a0bc0fdaf255e46c908b00e93bc2";><code>3db3ef3</code></a>
 fix(removeScripts): handle anchor URL bypasses (<a 
href="https://redirect.github.com/svg/svgo/issues/2268";>#2268</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/4e9b9aed2a4607cf28025871151421d5bfe86484";><code>4e9b9ae</code></a>
 chore: cache regression screenshots (<a 
href="https://redirect.github.com/svg/svgo/issues/2267";>#2267</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/d55270ce17b99ebfe16e4fad028bd162187205a1";><code>d55270c</code></a>
 chore(regression): migrate comparison workers to Tinypool (<a 
href="https://redirect.github.com/svg/svgo/issues/2266";>#2266</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/fd51e474a300417d9361d9302d596b1763146327";><code>fd51e47</code></a>
 fix(removeScripts): sanitize foreignObject content (<a 
href="https://redirect.github.com/svg/svgo/issues/2264";>#2264</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/dcaf957c6eb34832844de11ef2792e3e0e8db5dd";><code>dcaf957</code></a>
 chore: optimize fixtures in a bounded worker pool (<a 
href="https://redirect.github.com/svg/svgo/issues/2265";>#2265</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/a3542937d9c85debab04b1ff75207768caf8a058";><code>a354293</code></a>
 fix(removeScripts): filter executable data URLs (<a 
href="https://redirect.github.com/svg/svgo/issues/2263";>#2263</a>)</li>
   <li><a 
href="https://github.com/svg/svgo/commit/4e0d2ac5e7abd5f12d650d3e4b4d2500d4944cc5";><code>4e0d2ac</code></a>
 ci(typecheck): return typechecking on CI</li>
   <li><a 
href="https://github.com/svg/svgo/commit/0b97fedd00a3001f1da616f61578c2c12e6cde1f";><code>0b97fed</code></a>
 test(typescript): drop tsd for vitest type testing API</li>
   <li><a 
href="https://github.com/svg/svgo/commit/f6e8ae1afb012c2b47675622728d76b9bfd734f5";><code>f6e8ae1</code></a>
 chore(pnpm): drop package.json#pnpm.onlyBuiltDependencies</li>
   <li>Additional commits viewable in <a 
href="https://github.com/svg/svgo/compare/v4.0.2...v4.1.0";>compare view</a></li>
   </ul>
   </details>
   <details>
   <summary>Maintainer changes</summary>
   <p>This version was pushed to npm by <a 
href="https://www.npmjs.com/~GitHub%20Actions";>GitHub Actions</a>, a new 
releaser for svgo since your current version.</p>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=svgo&package-manager=npm_and_yarn&previous-version=4.0.2&new-version=4.1.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 <dependency name> major version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
major version (unless you unignore this specific dependency's major version or 
upgrade to it yourself)
   - `@dependabot ignore <dependency name> minor version` will close this group 
update PR and stop Dependabot creating any more for the specific dependency's 
minor version (unless you unignore this specific dependency's minor version or 
upgrade to it yourself)
   - `@dependabot ignore <dependency name>` will close this group update PR and 
stop Dependabot creating any more for the specific dependency (unless you 
unignore this specific dependency or upgrade to it yourself)
   - `@dependabot unignore <dependency name>` will remove all of the ignore 
conditions of the specified dependency
   - `@dependabot unignore <dependency name> <ignore condition>` will remove 
the ignore condition of the specified dependency and ignore conditions
   You can disable automated security fix PRs for this repo from the [Security 
Alerts page](https://github.com/apache/airflow-site/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]

Reply via email to