Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump sanitize-html from 2.11.0 to 2.12.1 #4328

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 1, 2024

Bumps sanitize-html from 2.11.0 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 the style attribute 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 allowedEmptyAttributes option, enabling explicit specification of empty string values for select attributes, with the default attribute set to alt. 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.

Commits
  • 4a7d7dd Merge pull request #654 from apostrophecms/release-2.12.1
  • f8e02be release 2.12.1
  • c5dbdf7 Merge pull request #650 from dylanarmstrong/fix/ignore-source-maps
  • 5a5a74e Merge pull request #652 from apostrophecms/add-thanks-to-changelog
  • ee71ff0 Add community contribution thanks you
  • a226fe7 Merge pull request #651 from apostrophecms/release-2.12.0
  • ff18600 release 2.12.0
  • 1e2294c test: added test for postcss map
  • c376501 doc: update changelog
  • 075499d fix: ignore source maps when processing with postcss
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested review from a team as code owners March 1, 2024 17:30
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 1, 2024
rushilbg
rushilbg previously approved these changes Mar 4, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 070c16b to 1957402 Compare March 25, 2024 14:24
@zahin-mohammad zahin-mohammad force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 1957402 to 11e5914 Compare March 25, 2024 15:38
@zahin-mohammad zahin-mohammad force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 11e5914 to 5b3d2cc Compare March 25, 2024 15:47
zahin-mohammad
zahin-mohammad previously approved these changes Mar 25, 2024
@andrew-scott-fischer
Copy link
Contributor

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 9, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@andrew-scott-fischer
Copy link
Contributor

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 5b3d2cc to 7fcd8a8 Compare April 9, 2024 23:04
Copy link

socket-security bot commented Apr 9, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/[email protected] None 0 31.6 kB nicolo-ribaudo
npm/@colors/[email protected] environment 0 39.5 kB dabh
npm/@hapi/[email protected] None 0 51.5 kB devinivy
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@protobufjs/[email protected] None 0 9.05 kB dcode
npm/@sideway/[email protected] None 0 16.9 kB marsup
npm/@sideway/[email protected] None 0 3.64 kB hueniverse
npm/@types/[email protected] None 0 7.46 kB types
npm/@types/[email protected] None 0 4 kB types
npm/@types/[email protected] None 0 8.2 kB types
npm/@types/[email protected] None 0 15.5 kB types
npm/@types/[email protected] None 0 8.93 kB types
npm/[email protected] None 0 4.78 kB isaacs
npm/[email protected] None 0 42.8 kB marijn
npm/[email protected] None 0 1.21 MB marijn
npm/[email protected] None 0 8.05 kB iarna
npm/[email protected] None 0 3.17 kB sindresorhus
npm/[email protected] None 0 33.9 kB kriskowal
npm/[email protected] environment 0 11.4 kB pfmooney
npm/[email protected] None 0 821 kB hargasinski
npm/[email protected] None 0 9.62 kB feross
npm/[email protected] None 0 63.9 kB mikemcl
npm/[email protected] None 0 350 kB mikemcl
npm/[email protected] environment, eval, unsafe 0 632 kB esailija
npm/[email protected] None 0 99 kB fanatid
npm/[email protected] None 0 3.52 kB indutny
npm/[email protected] None 0 4.83 kB dcousens
npm/[email protected] None 0 11.7 kB sindresorhus
npm/[email protected] None 0 17 kB jorgebucaran
npm/[email protected] None 0 8 kB nami-doc
npm/[email protected] None 0 10.3 kB goto-bus-stop
npm/[email protected] None 0 7.46 kB juliangruber
npm/[email protected] None 0 10.5 kB dougwilson
npm/[email protected] None 0 14.5 kB andyburke
npm/[email protected] None 0 2.94 kB sindresorhus
npm/[email protected] None 0 283 kB mikemcl
npm/[email protected] None 0 8.11 kB thlorenz
npm/[email protected] None 0 31.2 kB tehshrike
npm/[email protected] environment, eval 0 27.1 kB dougwilson
npm/[email protected] None 0 4.01 kB gr2m
npm/[email protected] None 0 11.4 kB feedic
npm/[email protected] None 0 57.7 kB feedic
npm/[email protected] None 0 79.7 kB guybedford
npm/[email protected] None 0 314 kB ariya
npm/[email protected] None 0 36.3 kB michaelficarra
npm/[email protected] None 0 38 kB lpinca
npm/[email protected] None 0 82.8 kB goto-bus-stop
npm/[email protected] None 0 23.5 kB ljharb
npm/[email protected] None 0 22.8 kB dap
npm/[email protected] None 0 13 kB esp
npm/[email protected] None 0 9.44 kB hiddentao
npm/[email protected] None 0 39.7 kB matteo.collina
npm/[email protected] None 0 27.2 kB webreflection
npm/[email protected] network 0 29.4 kB rubenverborgh
npm/[email protected] None 0 16.7 kB ljharb
npm/[email protected] None 0 4.72 kB stefanpenner
npm/[email protected] environment, filesystem 0 32.5 kB isaacs
npm/[email protected] None 0 12.8 kB ljharb
npm/[email protected] None 0 20.6 kB ljharb
npm/[email protected] None 0 124 kB mathias
npm/[email protected] None 0 7.72 kB lukeed
npm/[email protected] None 0 35.9 kB kornel
npm/[email protected] network 0 2.79 kB feross
npm/[email protected] None 0 51.2 kB kael
npm/[email protected] None 0 9.3 kB isaacs
npm/[email protected] None 0 28.9 kB ljharb
npm/[email protected] filesystem 0 3.01 kB sindresorhus
npm/[email protected] None 0 12.7 kB ljharb
npm/[email protected] None 0 2.62 kB sindresorhus
npm/[email protected] None 0 12.3 kB ljharb
npm/[email protected] None 0 4.41 kB hughsk
npm/[email protected] filesystem 0 12.5 kB gjtorikian
npm/[email protected] None 0 29.3 kB oss-bot
npm/[email protected] None 0 34.7 kB dankogai
npm/[email protected] None 0 15.1 kB lydell
npm/[email protected] None 0 10.4 kB isaacs
npm/[email protected] None 0 12.7 kB isaacs
npm/[email protected] None 0 235 kB jordanbtucker
npm/[email protected] None 0 36.8 kB creationix
npm/[email protected] None 0 22.8 kB doowb
npm/[email protected] None 0 1.41 MB bnjmnt4n
npm/[email protected] None 0 8.9 kB zensh
npm/[email protected] network 0 5.29 kB dougwilson
npm/[email protected] None 0 206 kB dougwilson
npm/[email protected] None 0 3.58 kB sindresorhus
npm/[email protected] None 0 1.55 kB cwmma
npm/[email protected] environment, filesystem 0 19.1 kB isaacs
npm/[email protected] None 0 6.51 kB isaacs
npm/[email protected] None 0 27.4 kB dougwilson
npm/[email protected] None 0 298 kB suguru03
npm/[email protected] None 0 9.22 kB jonschlinkert
npm/[email protected] None 0 5.49 kB sindresorhus
npm/[email protected] None 0 94.8 kB ljharb
npm/[email protected] None 0 19.1 kB indutny
npm/[email protected] None 0 7.54 kB dougwilson
npm/[email protected] None 0 2.74 kB coderpuppy
npm/[email protected] None 0 6.14 kB sindresorhus
npm/[email protected] None 0 10.3 kB dougwilson
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] None 0 90 kB mrmlnc
npm/[email protected] None 0 27.2 kB evilebottnawi
npm/[email protected] environment, filesystem, unsafe 0 11.2 MB prettier-bot
npm/[email protected] None 0 15.3 kB cwmma
npm/[email protected] None 0 9.29 kB ionicabizau
npm/[email protected] environment 0 29.5 kB rob-w
npm/[email protected] None 0 461 kB lupomontero
npm/[email protected] None 0 32.9 kB google-wombot
npm/[email protected] None 0 123 kB kriskowal
npm/[email protected] None 0 16.1 kB spaintrain
npm/[email protected] None 0 8.46 kB dougwilson
npm/[email protected] filesystem, unsafe 0 5.82 kB sindresorhus
npm/[email protected] None 0 6.6 kB sboudrias
npm/[email protected] None 0 32.1 kB feross
npm/[email protected] None 0 42.3 kB chalker
npm/[email protected] None 0 8.56 kB domenic
npm/[email protected] None 0 45 kB ljharb
npm/[email protected] None 0 9.96 kB isaacs
npm/[email protected] None 0 138 kB joshglazebrook
npm/[email protected] None 0 148 kB 7rulnik
npm/[email protected] None 0 805 kB tromey
npm/[email protected] None 0 6.96 kB sindresorhus
npm/[email protected] None 0 46.9 kB sokra
npm/[email protected] None 0 174 kB dchest
npm/[email protected] None 0 42.1 kB chaijs
npm/[email protected] None 0 26 kB substack
npm/[email protected] None 0 5.72 kB vitaly
npm/[email protected] environment, eval, filesystem 0 1.28 MB alexlamsl
npm/[email protected] None 0 4.31 kB dougwilson
npm/[email protected] None 0 5.48 kB tootallnate
npm/[email protected] None 0 116 kB ctavan
npm/[email protected] None 0 8.75 kB dougwilson
npm/[email protected] None 0 6.46 kB raynos
npm/[email protected] None 0 14.8 kB isaacs
npm/[email protected] environment 0 448 kB eemeli
npm/[email protected] environment, filesystem 0 124 kB oss-bot

🚮 Removed packages: npm/@types/[email protected]

View full report↗︎

@andrew-scott-fischer
Copy link
Contributor

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 7fcd8a8 to 06b01db Compare April 10, 2024 15:20
Copy link

socket-security bot commented Apr 10, 2024

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/[email protected]
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

@andrew-scott-fischer
Copy link
Contributor

@dependabot rebase

Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html) from 2.11.0 to 2.12.1.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md)
- [Commits](apostrophecms/sanitize-html@2.11.0...2.12.1)

---
updated-dependencies:
- dependency-name: sanitize-html
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

TICKET: WP-0000
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch from 06b01db to cbd26e3 Compare April 10, 2024 16:22
@andrew-scott-fischer andrew-scott-fischer merged commit da76bce into master Apr 10, 2024
5 of 6 checks passed
@andrew-scott-fischer andrew-scott-fischer deleted the dependabot/npm_and_yarn/sanitize-html-2.12.1 branch April 10, 2024 16:44
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants