Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#1788 closed defect (bug) (fixed)

Sanitize titles!

Reported by: donncha's profile donncha Owned by:
Milestone: Priority: high
Severity: major Version: 1.6
Component: Security Keywords:
Focuses: Cc:

Description

Post titles aren't sanitized right now. Add the following line to wp-includes/kses.php:kses_init_filters()

add_filter('title_save_pre', 'wp_filter_kses');

Attachments (1)

patch.txt (358 bytes) - added by donncha 20 years ago.

Download all attachments as: .zip

Change History (2)

@donncha
20 years ago

#1 @ryan
20 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2963]) Filter title with kses. fixes #1788

Note: See TracTickets for help on using tickets.