<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>55597</bug_id>
          
          <creation_ts>2011-03-02 11:43:49 -0800</creation_ts>
          <short_desc>Arbitrary script execution during style recalc due to SVG font instantiation firing pending image load events</short_desc>
          <delta_ts>2018-11-19 21:45:47 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=136269</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>360947</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2011-03-02 11:43:49 -0800</bug_when>
    <thetext>During style recalc (or attach()), CachedFont::ensureSVGFontData() can be called, and in turn call into Document::setContent(). That does an implicitClose() which calls ImageLoader::dispatchPendingLoadEvents(), which dispatches an arbitrary set of event and can cause arbitrary script execution and re-entry into style and layout code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>360950</commentid>
    <comment_count>1</comment_count>
    <who name="">mitz</who>
    <bug_when>2011-03-02 11:45:09 -0800</bug_when>
    <thetext>&lt;rdar://problem/9076006&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1480374</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2018-11-19 21:45:47 -0800</bug_when>
    <thetext>Some aspect of this bug has been mitigated by https://trac.webkit.org/changeset/173028.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>