Skip to content

chore(deps): bump enshrined/svg-sanitize from 1.0.0 to 1.1.0 - #1197

Open
dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/composer/development/enshrined/svg-sanitize-1.1.0
Open

dependabot[bot] wants to merge 1 commit into
developmentfrom
dependabot/composer/development/enshrined/svg-sanitize-1.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 27, 2026

Copy link
Copy Markdown
Contributor

Bumps enshrined/svg-sanitize from 1.0.0 to 1.1.0.

Release notes

Sourced from enshrined/svg-sanitize's releases.

1.1.0

This is a security release. Everyone using 1.0.0 or earlier should upgrade. The public API has not changed, but some input is now cleaned differently. See "Changed" below before you upgrade.

It fixes these advisories:

Security

  • Animation elements such as <animateTransform> can no longer change a link's href after sanitizing. Any attributeName that targets an href is removed.

  • A document whose DTD would still reach the XML parser is now rejected. That covers DTDs in encodings the pre-parse stripper cannot read, such as UTF-16, and DOCTYPEs hidden inside other DOCTYPEs. An internal DTD in UTF-16 or UTF-32 input is now rejected before parsing, so older libxml can no longer expand its entities first, even with setAllowHugeFiles(true).

  • Input that is unsafe to hand to the XML parser is rejected before parsing:

    • an element with more than 4,096 attributes, which libxml before 2.10 parses in quadratic time
    • encodings whose markup is not plain ASCII and cannot be checked first, such as EBCDIC and UTF-7

    The parser also now runs with LIBXML_NONET.

  • The <use> limits (useThreshold(), setUseNestingLimit() and loop detection) now measure the document a browser actually renders, both as XML and when the output is inlined in an HTML page. They are applied after tags and attributes are cleaned. They also now cover <use> elements that are nested inside other elements, that carry their own id, or that point at a duplicated id. They read references the way browsers do, including letter case, namespaces, whitespace and percent-encoding. useThreshold() now counts every <use> a reference renders, at every level of a chain, not

... (truncated)

Changelog

Sourced from enshrined/svg-sanitize's changelog.

[1.1.0] - 2026-10-19

This is a security release. Everyone using 1.0.0 or earlier should upgrade. The public API has not changed, but some input is now cleaned differently. See "Changed" below before you upgrade.

It fixes these advisories:

Security

  • Animation elements such as <animateTransform> can no longer change a link's href after sanitizing. Any attributeName that targets an href is removed.

  • A document whose DTD would still reach the XML parser is now rejected. That covers DTDs in encodings the pre-parse stripper cannot read, such as UTF-16, and DOCTYPEs hidden inside other DOCTYPEs. An internal DTD in UTF-16 or UTF-32 input is now rejected before parsing, so older libxml can no longer expand its entities first, even with setAllowHugeFiles(true).

  • Input that is unsafe to hand to the XML parser is rejected before parsing:

    • an element with more than 4,096 attributes, which libxml before 2.10 parses in quadratic time
    • encodings whose markup is not plain ASCII and cannot be checked first, such as EBCDIC and UTF-7

    The parser also now runs with LIBXML_NONET.

  • The <use> limits (useThreshold(), setUseNestingLimit() and loop detection) now measure the document a browser actually renders, both as XML and when the output is inlined in an HTML page. They are applied after tags and attributes are cleaned. They also now cover <use> elements that are nested inside other elements, that carry their own id, or that point at a duplicated id. They read references the way browsers do, including letter case, namespaces, whitespace and percent-encoding. useThreshold() now counts every <use> a reference renders, at every level of a chain, not

... (truncated)

Commits
  • 9ba9001 Merge commit from fork
  • 7889f57 Release 1.1.0 in the changelog
  • 6d83781 Scale timing limits to the machine and run CI without Xdebug
  • 00944d2 Remove nodes in linear time on PHP before 8.1
  • 6df099c Run the test matrix with PCRE JIT both on and off
  • f913e7e Add a security policy
  • 102dc53 Target 1.1.0 for this release in the changelog note
  • 5a5af24 Check input before parsing and widen the unsafe-URL check
  • ef91e23 Close gaps found in the second Codex review
  • c934416 Add the 1.0.1 changelog entry and date the 1.0.0 entry
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [enshrined/svg-sanitize](https://github.com/darylldoyle/svg-sanitizer) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/darylldoyle/svg-sanitizer/releases)
- [Changelog](https://github.com/darylldoyle/svg-sanitizer/blob/master/CHANGELOG.md)
- [Commits](darylldoyle/svg-sanitizer@1.0.0...1.1.0)

---
updated-dependencies:
- dependency-name: enshrined/svg-sanitize
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Oct 27, 2026
@pirate-bot

Copy link
Copy Markdown
Collaborator

Plugin build for e44db53 is ready 🛎️!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant