Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1788 closed defect (bug) (fixed)

Sanitize titles!

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

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 21 years ago.

Download all attachments as: .zip

Change History (2)

#1 @ryan
21 years ago

  • Resolution → fixed
  • Status new → closed

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

Note: See TracTickets for help on using tickets.