chore(deps): update dependency svgo to v4.1.0 #11
No reviewers
Labels
No labels
dependencies
renovate
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kontakt/map.kntkt.de!11
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/svgo-4-x-lockfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
4.0.1→4.1.0Release Notes
svg/svgo (svgo)
v4.1.0Compare Source
This minor release upgrades the SAX parser and introduces stricter XML validation. It also includes important security hardening for
removeScripts, dependency updates, and improvements to the test and regression infrastructure.Support SVGO
If SVGO is valuable to you or your organization, please consider supporting the project on OpenCollective. Your sponsorship helps fund ongoing maintenance and security work.
Stricter XML validation
SVGO now uses
sax1.6.1, upgraded from 1.5.0 (#2257).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:
&#​1;,, and;�;.Valid boundary values—including
U+0020,U+D7FF,U+E000,U+FFFD, and characters throughU+10FFFF—remain supported.Parser failures are consistently exposed as
SvgoParserErrorerrors with anInvalid character entityreason.This is an intentional behavior change: malformed SVGs that were previously accepted may now produce a parser error, while valid XML documents are unaffected.
Security
The
removeScriptsplugin has been hardened against several script-execution bypasses:data:URLs containing HTML, XHTML, or SVG documents while preserving inert data such as PNG images, and filters legacyvbscript:URLs (#2263).<foreignObject>elements by removing HTML event-handler attributes,srcdoc, and executable URLs fromaction,data,formaction,href, andsrc, while preserving non-executable HTML and visual content (#2264).<a>elements and removes ASCII tabs and newlines before checking URL schemes, preventing values such asjava&#​9;script:from bypassing detection while preserving elements in unrelated custom namespaces (#2268).These changes address:
Dependencies
css-selectto v6 andcss-whatto v7, and updated SVGO's custom selector adapter forcss-selectv6 (#2244).Project maintenance
@TrySound is back as an active SVGO maintainer.
Many thanks to @KTibow, @SethFalco, and @XhmikosR for maintaining and improving SVGO over the past several years.
Full Changelog: https://github.com/svg/svgo/compare/v4.0.2...v4.1.0
v4.0.2Compare Source
What's Changed
Security
<script>handling namespace aware. By @SethFalcoBug Fixes
tcommands. By @KTibow in #2156Performance
Other Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
f3647229faf06c915625chore(deps): update dependency svgo to v4.0.2to chore(deps): update dependency svgo to v4.1.0f06c915625a4a53ac3cd