[wp-trac] [WordPress Trac] #5272: WordPress allows anonymous user to see slug for private post by guessing post number

WordPress Trac noreply at wordpress.org
Tue Feb 2 00:34:50 UTC 2021


#5272: WordPress allows anonymous user to see slug for private post by guessing
post number
-------------------------------------------------+-------------------------
 Reporter:  tzafrir                              |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.7
Component:  Security                             |     Version:  2.3.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-dev-  |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests needs-
     dev-note


Comment:

 In [attachment:"5272.2.diff"]:

 As above with:
 * A couple of minor comment and docblock fixes
 * Removes fix for #49380 committed in [50130].

 Requires dev note for new function. It won't need a full one as it's
 mainly intended for internal use but may end up been used by plugins using
 either the `pre_post_link` or `post_link` filters.

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


More information about the wp-trac mailing list