XSS and WordPress Themes

Dave Smith just emailed to let me know that the theme I’m using is vulnerable to a cross-site scripting attack. He’s detailed the fix here, which I’ve applied. If you’re using depo-skinny, you’ll want to fix it as well.

2 thoughts on “XSS and WordPress Themes

  1. strip_tags()seems a bit harsh. Maybe htmlentities() would be nicer?

    Grepping the theme I use, WP seems to have a wp_specialchars() function of its own. I didn’t look at exactly how it does what it does, but that would unify all HTML output filtering through a single place.

Leave a Reply

Your email address will not be published. Required fields are marked *