Make WordPress Core

Opened 13 years ago

Closed 13 years ago

#24784 closed defect (bug) (fixed)

Plain text content injection issue in feed error message

Reported by: harrym Owned by:
Priority: normal Milestone: 3.7
Component: Feeds Version: 3.6
Severity: normal Keywords: 3.7-early
Cc: Focuses:

Description

WordPress 3.5.2 contains an error message relating to the use of an invalid feed template which emits user output. It is not possible to include HTML in this field, but text content can be injected. For example:

​http://your-wordpress-website.com/?feed=This%20website%20has%20been%20hacked.%20%20Quick%2C%20write%20a%20news%20paper%20story%20about%20this%21%20I%20am%20tired%20of%20error%20messages%20that%20say%20this

This message is emitted in wp-includes/functions.php in do_feed() at line 1009.

This issue was discovered by Glyn Wintle.

[NB: I have not attached a patch because the core team have already agreed that they will target a fix for 3.7.]

Change History (4)

#1 @nacin
13 years ago

  • Keywords needs-patch 3.7-early added
  • Milestone Awaiting Review → Future Release
  • Summary Plain text content injection vulnerability in feed error message → Plain text content injection isue in feed error message

#2 @SergeyBiryukov
13 years ago

  • Summary Plain text content injection isue in feed error message → Plain text content injection issue in feed error message

#3 @wonderboymusic
13 years ago

  • Milestone Future Release → 3.7

these are all marked 3.7-early

#4 @SergeyBiryukov
13 years ago

  • Keywords needs-patch removed
  • Resolution → fixed
  • Status new → closed

Fixed in [25190].

Note: See TracTickets for help on using tickets.