Skip to content

TechMedia

Header Image

[loofah] Improper neutralization of data URIs may allow XSS in Loofah

  • MODERATE
  • Posted byWpmaster
  • 12/14/202201/07/2023
もっと詳しく

Summary

Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs.

Mitigation

Upgrade to Loofah >= 2.19.1.

Severity

The Loofah maintainers have evaluated this as Medium Severity 6.1.

References

  • CWE – CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’) (4.9)
  • SVG MIME Type (image/svg+xml) is misleading to developers · Issue #266 · w3c/svgwg
  • https://hackerone.com/reports/1694173
  • https://github.com/flavorjones/loofah/issues/101

Credit

This vulnerability was responsibly reported by Maciej Piechota (@haqpl).

References

  • https://github.com/flavorjones/loofah/security/advisories/GHSA-228g-948r-83gx
  • https://github.com/flavorjones/loofah/issues/101
  • https://github.com/w3c/svgwg/issues/266
  • https://github.com/flavorjones/loofah/commit/415677f3cf7f9254f42f811e784985cd63c7407f
  • https://hackerone.com/reports/1694173
  • https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2022-23515.yml
  • https://nvd.nist.gov/vuln/detail/CVE-2022-23515
  • https://github.com/advisories/GHSA-228g-948r-83gx

Post navigation

Previous Post Previous post:
[loofah] Inefficient Regular Expression Complexity in Loofah
Next Post Next post:
【くそまじめになったら、受験は失敗する】賢く、抜かりなく勉強するコツ2選 (ダイヤモンド・オンライン)

Recent Posts

  • 大規模対戦ACT『Warlander』PS5/XSX版最新情報を公開―新コンテンツ追加やゲーム改善をリリースに向けて開発中
  • サウナブームが到来!!「ととのう」を提供するべく新サウナ施設や様々なサウナグッズが登場 (マイライフニュース)
  • 吉野家HDの24年2月期、営業益34%増 12年ぶり水準 (日本経済新聞)
  • 【フォト】大規模反攻、夏にずれ込む可能性 ウクライナ首相 (産経新聞)
  • 驚き!地球!グレートネイチャー「探検!未知なる海へ~北極海・ポリネシア~」[解][字]
An error has occurred, which probably means the feed is down. Try again later.
RSS Error: A feed could not be found at `https://nordot.app/-/feed/posts/rss?source_id=646357622673671265&curation_url=true`; the status code is `404` and content-type is `text/html; charset=UTF-8`
  • News
  • Twitter
  • Twilog
  • Scrapbox
  • Twitter log
  • Apple News
  • Mastodon log
  • coron news&archives
  • SNSNews
  • TechnoPlanet
  • iTech
  • ComputerJournal
  • Underground News
  • Last.fm
  • はてなブックマーク
  • Tumblr
  • ツイフィール
  • ウェブサイト利用規約
  • Google提供広告の広告設定
  • 他の広告のオプトアウト
  • Valuecommerce配信広告のオプトアウト
  • Zuck配信広告のオプトアウト
  • i-mobile配信広告のオプトアウト
  • Amazon.co.jpパーソナライズド広告の設定

What’s TechMedia

TechMediaはオープンRSS情報サイトです。世界中のウェブサイトから情報を収集し、検索のヒントになる情報を掲載しています。登録RSSの追加依頼はこちらから

TechMedia
WordPress theme by componentz

Archives

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Hit enter to search or ESC to close