[Webkit-unassigned] [Bug 243588] New: Parser bug can introduce mXSS and HTML sanitizers bypas

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 5 08:04:11 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243588

            Bug ID: 243588
           Summary: Parser bug can introduce mXSS and HTML sanitizers
                    bypas
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zlip.792 at gmail.com

Hi Team,

I was dumpster diving again in Mozilla Bugzilla to identify any test cases in DOM Parser where Safari / Webkit might be different and then testing them across all browser to ensure that Webkit can get to be more web-compatible and came across following test case:

Test Case Link - https://jsbin.com/yomabutoze/edit?html,output

Mozilla Bug - https://bugzilla.mozilla.org/show_bug.cgi?id=1598466

Chrome Bug - https://bugs.chromium.org/p/chromium/issues/detail?id=1005713

Some Blog Post - https://research.securitum.com/dompurify-bypass-using-mxss/

Web-Spec Chrome Discussion - https://bugs.chromium.org/p/chromium/issues/detail?id=1005713#c10

Commit - https://chromium.googlesource.com/chromium/src.git/+/d16226271d4d501de19f019aba1c145930b45503

*** STEPS TO REPRODUCE ***

1) Open Test Case Link
2) Notice Behavior

<< ACTUAL RESULT >>

Safari get dialog with '1' value

<< EXPECTED RESULT >>

No Dialog box similar to other browsers.

___

Appreciate if this can be fixed so there is no dialog box similar to other browsers.

Thanks

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220805/64cf1dde/attachment.htm>


More information about the webkit-unassigned mailing list