[wp-trac] [WordPress Trac] #55855: In wp-admin folder the ajax-actions.php file has some unsanitize data issue.

WordPress Trac noreply at wordpress.org
Fri May 27 13:17:15 UTC 2022


#55855: In wp-admin folder the ajax-actions.php file has some unsanitize data
issue.
-------------------------------+------------------------------
 Reporter:  smit08             |       Owner:  (none)
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Administration     |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch close  |     Focuses:
-------------------------------+------------------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => needs-patch close
 * component:  Users => Administration


Comment:

 Hi there, welcome back to WordPress Trac! Thanks for the ticket.

 I think comment:1 is correct, the `(int)` casting is enough for
 sanitization here.

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


More information about the wp-trac mailing list