POJIA破甲
地图 / CVE-2022-23520: Incomplete fix for CVE-2022-32209 (XSS in Rails::Html::Sanitizer under certain configurations)

CVE-2022-23520: Incomplete fix for CVE-2022-32209 (XSS in Rails::Html::Sanitizer under certain configurations)

跨站脚本 / XSS(通用) / #1805893

厂商
Internet Bug Bounty
严重程度
低危
赏金
$2,400
弱点
XSS(通用)
研究员
@0b5cur17y
披露日期
2023-01-04
资产
https://github.com/rails
CVE
CVE-2022-23520CVE-2022-32209

该报告还没有中文解读。

原文摘录

摘自原文(2810 字符中的一小部分)
The following is from: https://hackerone.com/reports/1654310
原文中的代码
module Rails
  module Html
    class SafeListSanitizer < Sanitizer
      ...
      def remove_safelist_tag_combinations(tags)
        if !loofah_using_html5? && tags.include?("select") && tags.include?("style")
          warn("WARNING: #{self.class}: removing 'style' from safelist, should not be …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @0b5cur17y · 版权归作者与 Internet Bug Bounty 所有

同类报告

[Grab Android/iOS] Insecure deeplink leads to sensitive information disclosureGrab · 2019-03-15XSS vulnerable parameter in a location hashSlack · 2019-10-16[accounts.reddit.com] Redirect parameter allows for XSSReddit · 2023-05-18 · $5,000yelp.com XSS ATO (via login keylogger, link Google account)Yelp · 2023-08-15XSS At "pages.et.uber.com"Uber · 2016-08-19XSS at jamfpro.shopifycloud.comShopify · 2023-02-02 · $9,400