material-design-for-wordpress
material-design-for-wordpress copied to clipboard
Bump sanitize-html from 2.5.3 to 2.12.1
trafficstars
Bumps sanitize-html from 2.5.3 to 2.12.1.
Changelog
Sourced from sanitize-html's changelog.
2.12.1 (2024-02-22)
- Do not parse sourcemaps in
post-css. This fixes a vulnerability in which information about the existence or non-existence of files on a server could be disclosed via properly crafted HTML input when thestyleattribute is allowed by the configuration. Thanks to the Snyk Security team for the disclosure and to Dylan Armstrong for the fix.2.12.0 (2024-02-21)
Introduced the
allowedEmptyAttributesoption, enabling explicit specification of empty string values for select attributes, with the default attribute set toalt. Thanks to Na for the contribution.Clarified the use of SVGs with a new test and changes to documentation. Thanks to Gauav Kumar for the contribution.
Do not process source maps when processing style tags with PostCSS.
2.11.0 (2023-06-21)
- Fix to allow
falseinallowedClassesattributes. Thanks to Kevin Jiang for this fix!- Upgrade mocha version
- Apply small linter fixes in tests
- Add
.ideatemp files to.gitignore- Thanks to Vitalii Shpital for the updates!
- Show parseStyleAttributes warning in browser only. Thanks to mog422 for this update!
- Remove empty non-boolean attributes via an exhaustive, configurable list of known non-boolean attributes. Thanks to Dylan Armstrong for this update!
2.10.0 (2023-02-17)
- Fix auto-adding escaped closing tags. In other words, do not add implied closing tags to disallowed tags when
disallowedTagModeis set to any variant ofescape-- just escape the disallowed tags that are present. This fixes [issue #464](apostrophecms/sanitize-html#464). Thanks to Daniel Liebner- Add
tagAllowed()helper function which takes a tag name and checks it againstoptions.allowedTagsand returnstrueif the tag is allowed andfalseif it is not.2.9.0 (2023-01-27)
- Add option parseStyleAttributes to skip style parsing. This fixes [issue #547](apostrophecms/sanitize-html#547). Thanks to Bert Verhelst.
2.8.1 (2022-12-21)
- If the argument is a number, convert it to a string, for backwards compatibility. Thanks to Alexander Schranz.
2.8.0 (2022-12-12)
- Upgrades
htmlparser2to new major version^8.0.0. Thanks to Kedar Chandrayan for this contribution.2.7.3 (2022-10-24)
- If allowedTags is falsy but not exactly
false, then do not assume that all tags are allowed. Rather, allow no tags in this case, to be on the safe side. This matches the existing documentation and fixes [issue #176](apostrophecms/sanitize-html#176). Thanks to Kedar Chandrayan for the fix.2.7.2 (2022-09-15)
- Closing tags must agree with opening tags. This fixes [issue #549](apostrophecms/sanitize-html#549), in which closing tags not associated with any permitted opening tag could be passed through. No known exploit exists, but it's better not to permit this. Thanks to Kedar Chandrayan for the report and the fix.
2.7.1 (2022-07-20)
... (truncated)
Commits
4a7d7ddMerge pull request #654 from apostrophecms/release-2.12.1f8e02berelease 2.12.1c5dbdf7Merge pull request #650 from dylanarmstrong/fix/ignore-source-maps5a5a74eMerge pull request #652 from apostrophecms/add-thanks-to-changelogee71ff0Add community contribution thanks youa226fe7Merge pull request #651 from apostrophecms/release-2.12.0ff18600release 2.12.01e2294ctest: added test for postcss mapc376501doc: update changelog075499dfix: ignore source maps when processing with postcss- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.