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

[Security] Bump loofah from 2.0.3 to 2.2.2 #194

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps loofah from 2.0.3 to 2.2.2. This update includes security fixes.

Vulnerabilities fixed

Loofah XSS Vulnerability
Loofah allows non-whitelisted attributes to be present in sanitized
output when input with specially-crafted HTML fragments.

Patched versions: [">= 2.2.1"]
Unaffected versions: []

Release notes

Sourced from loofah's releases.

v2.2.2

2.2.2 / 2018-03-22

Make public Loofah::HTML5::Scrub.force_correct_attribute_escaping!,
which was previously a private method. This is so that downstream gems
(like rails-html-sanitizer) can use this logic directly for their own
attribute scrubbers should they need to address CVE-2018-8048.

Changelog

Sourced from loofah's changelog.

2.2.2 / 2018-03-22

Make public Loofah::HTML5::Scrub.force_correct_attribute_escaping!,
which was previously a private method. This is so that downstream gems
(like rails-html-sanitizer) can use this logic directly for their own
attribute scrubbers should they need to address CVE-2018-8048.

2.2.1 / 2018-03-19

Addresses CVE-2018-8048. Loofah allowed non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.

This CVE's public notice is at https://github-redirect.dependabot.com/flavorjones/loofah/issues/144

2.2.0 / 2018-02-11

Features:

Bugfixes:

  • Properly handle nested script tags. #127.

2.1.1 / 2017-09-24

Bugfixes:

  • Removed warning for unused variable. #124 (Thanks, y-yagi!)

2.1.0 / 2017-09-24

Notes:

  • Re-implemented CSS parsing and sanitization using the crass library. #91

Features:

  • Added :noopener HTML scrubber (Thanks, tastycode!)
  • Support data URIs with the following media types: text/plain, text/css, image/png, image/gif, image/jpeg, image/svg+xml. #101, #120. (Thanks, mrpasquini!)

... (truncated)

Commits

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 ignore this [minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 [this|these] label[s] will set the current labels as the default for future PRs for this repo and language

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [loofah](https://github.com/flavorjones/loofah) from 2.0.3 to 2.2.2. **This update includes security fixes.**
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md)
- [Commits](flavorjones/loofah@v2.0.3...v2.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Author

Superseded by #238.

@dependabot-preview dependabot-preview bot deleted the dependabot/bundler/loofah-2.2.2 branch October 30, 2018 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant