[wp-trac] [WordPress Trac] #59995: Taxonomy: Check for empty term after DB sanitization in wp_insert_term

WordPress Trac noreply at wordpress.org
Fri Dec 1 10:42:35 UTC 2023


#59995: Taxonomy: Check for empty term after DB sanitization in wp_insert_term
--------------------------------------+------------------------------
 Reporter:  fgiannar                  |       Owner:  fgiannar
     Type:  defect (bug)              |      Status:  assigned
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Taxonomy                  |     Version:
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by fgiannar):

 Replying to [ticket:59995 fgiannar]:

 > Example: `wp_insert_term( '<script>Yo</script>', 'post_tag' )`;

 Example: `wp_insert_term( '<script>onclick=alert("hello")</script>',
 'post_tag' )`;

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59995#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list