gems-uff / sapos

SAPOS main goal is to ease the management of information related to graduate programs such as enrollments, courses, advisement, scholarships, requirements, among others.
http://gems-uff.github.io/sapos/
MIT License
29 stars 14 forks source link

Bump rails-html-sanitizer and loofah #421

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps rails-html-sanitizer and loofah. These dependencies needed to be updated together. Updates rails-html-sanitizer from 1.4.3 to 1.4.4

Release notes

Sourced from rails-html-sanitizer's releases.

1.4.4 / 2022-12-13

  • Address inefficient regular expression complexity with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23517. See GHSA-5x79-w82f-gw8w for more information.

    Mike Dalessio

  • Address improper sanitization of data URIs.

    Fixes CVE-2022-23518 and #135. See GHSA-mcvf-2q2m-x72m for more information.

    Mike Dalessio

  • Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23520. See GHSA-rrfc-7g8p-99q8 for more information.

    Mike Dalessio

  • Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23519. See GHSA-9h9g-93gc-623h for more information.

    Mike Dalessio

Changelog

Sourced from rails-html-sanitizer's changelog.

1.4.4 / 2022-12-13

  • Address inefficient regular expression complexity with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23517. See GHSA-5x79-w82f-gw8w for more information.

    Mike Dalessio

  • Address improper sanitization of data URIs.

    Fixes CVE-2022-23518 and #135. See GHSA-mcvf-2q2m-x72m for more information.

    Mike Dalessio

  • Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23520. See GHSA-rrfc-7g8p-99q8 for more information.

    Mike Dalessio

  • Address possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer.

    Fixes CVE-2022-23519. See GHSA-9h9g-93gc-623h for more information.

    Mike Dalessio

Commits
  • fd63dea version bump to v1.4.4
  • 48ae90a dep: bump dependency on loofah
  • 0713caf fix: escape CDATA nodes using Loofah's escaping methods
  • e6d52d3 revert 45a5c10
  • d1223a2 fix: use Loofah's scrub_uri_attribute method
  • f0e3347 fix: replace slow regex attribute check with Loofah method
  • df03f2f ci: pin system lib test to 20.04
  • 3e2a0f3 Merge pull request #145 from rails/flavorjones-get-14x-green
  • 11752a6 tests: handle libxml 2.10.0 incorrectly-opened comment parsing
  • See full diff in compare view


Updates loofah from 2.3.1 to 2.19.1

Release notes

Sourced from loofah's releases.

2.19.1 / 2022-12-13

Security

  • Address CVE-2022-23514, inefficient regular expression complexity. See GHSA-486f-hjj9-9vhh for more information.
  • Address CVE-2022-23515, improper neutralization of data URIs. See GHSA-228g-948r-83gx for more information.
  • Address CVE-2022-23516, uncontrolled recursion. See GHSA-3x8r-x6xp-q4vm for more information.

2.19.0 / 2022-09-14

Features

  • Allow SVG 1.0 color keyword names in CSS attributes. These colors are part of the CSS Color Module Level 3 recommendation released 2022-01-18. [#243]

2.18.0 / 2022-05-11

Features

2.17.0 / 2022-04-28

Features

2.16.0 / 2022-04-01

Features

  • Allow MathML elements menclose and ms, and MathML attributes dir, href, lquote, mathsize, notation, and rquote. [#231] (Thanks, @​nick-desteffen!)

2.15.0 / 2022-03-14

Features

  • Expand set of allowed protocols to include sms:. [#228] (Thanks, @​brendon!)

2.14.0 / 2022-02-11

Features

  • The #to_text method on Loofah::HTML::{Document,DocumentFragment} replaces <br> line break elements with a newline. [#225]

... (truncated)

Changelog

Sourced from loofah's changelog.

2.19.1 / 2022-12-13

Security

  • Address CVE-2022-23514, inefficient regular expression complexity. See GHSA-486f-hjj9-9vhh for more information.
  • Address CVE-2022-23515, improper neutralization of data URIs. See GHSA-228g-948r-83gx for more information.
  • Address CVE-2022-23516, uncontrolled recursion. See GHSA-3x8r-x6xp-q4vm for more information.

2.19.0 / 2022-09-14

Features

  • Allow SVG 1.0 color keyword names in CSS attributes. These colors are part of the CSS Color Module Level 3 recommendation released 2022-01-18. [#243]

2.18.0 / 2022-05-11

Features

2.17.0 / 2022-04-28

Features

2.16.0 / 2022-04-01

Features

  • Allow MathML elements menclose and ms, and MathML attributes dir, href, lquote, mathsize, notation, and rquote. [#231] (Thanks, @​nick-desteffen!)

2.15.0 / 2022-03-14

Features

  • Expand set of allowed protocols to include sms:. [#228] (Thanks, @​brendon!)

2.14.0 / 2022-02-11

Features

  • The #to_text method on Loofah::HTML::{Document,DocumentFragment} replaces <br> line break elements with a newline. [#225]

... (truncated)

Commits
  • 3f88063 version bump to v2.19.1
  • 9a8dadb docs: preserve the context and decision record
  • 86f7f63 fix: replace recursive approach to cdata with escaping solution
  • 415677f fix: do not allow "image/svg+xml" in data URIs
  • 84ca20c refactor: extract scrub_uri_attribute for downstream use
  • 47a835a ci: pin psych to v4 until v5 builds properly on CI
  • a6e0a1a fix: replace slow regex attribute check with crass parser
  • ea853aa Merge pull request #247 from flavorjones/flavorjones-downstream-test-rhs
  • e1f2a4b ci: test downstream rails-html-sanitizer
  • 79d65a0 Merge pull request #245 from flavorjones/flavorjones-fix-ruby-2.5-ci
  • 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 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/gems-uff/sapos/network/alerts).