[wp-trac] [WordPress Trac] #54655: gutenberg can run script when use preview

WordPress Trac noreply at wordpress.org
Sat Dec 18 10:43:24 UTC 2021


#54655: gutenberg can run script when use preview
--------------------------+-----------------------------
 Reporter:  lizhe1985     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 1. add new page or post
 2. add html code : <img src=1 onerror=console.log(123)>
 3. click Preview button
 4. script is fired in brower ; chrome console output 123

 can you fix this problem?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54655>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list