Opened 17 years ago
Closed 17 years ago
#6583 closed defect (bug) (fixed)
kses Allows Invalid Unicode Numeric Entities
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch 2nd-opinion |
Focuses: | Cc: |
Description
wp_kses_normalize_entities() allows a user to type "" in a comment. This is not properly escaped as "". For bloggers outputting true XHTML, this is disastrous. kses should be modified to escape the ampersand in any numeric entity reference that is not a valid Unicode character.
Attachments (2)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Unix diff patch from WP 2.5.0 kses.php