Home

>

Tools

>

WordPress

>

Releases

>

4.2.13

WordPress Release: 4.2.13

Tag Name: 4.2.13

Release Date: 3/6/2017

WordPress LogoWordPress

World's most popular open-source content management system powering over 40% of all websites. Offers extensive plugin ecosystem, themes, and robust community support for blogs, e-commerce, and corporate websites. Highly customizable and scalable platform suitable for beginners and advanced developers.

TL;DR

WordPress 4.2.13 is a security and maintenance release that addresses several important vulnerabilities. This update includes fixes for video and audio metadata validation, URL encoding for YouTube video IDs, plugin deletion security, redirect validation, and Press This functionality. These changes enhance the overall security posture of WordPress 4.2 installations by preventing potential exploits and ensuring safer content handling.

Highlight of the Release

    • Improved security for plugin deletion operations
    • Enhanced validation for video and audio metadata
    • Better YouTube video ID handling with URL encoding
    • Strengthened redirect validation by stripping control characters
    • Added verification step for Press This when fetching in-page resources

Migration Guide

No migration steps are required for this update. WordPress 4.2.13 is a security release that can be applied directly to existing WordPress 4.2.x installations without any special migration procedures.

It is recommended to back up your website before updating, as with any WordPress update, but no configuration changes or content adjustments are needed after updating.

Upgrade Recommendations

This is a critical security update that addresses multiple vulnerabilities in WordPress 4.2.x. All users running WordPress 4.2.x are strongly recommended to update to version 4.2.13 immediately.

However, it's important to note that WordPress 4.2 is an older branch that has reached end-of-life status. For optimal security and functionality, users should consider upgrading to the latest supported WordPress version rather than remaining on the 4.2 branch with this patch.

The security fixes in this release are important for sites that cannot immediately upgrade to newer WordPress versions, but a full version upgrade should be planned as soon as feasible.

Bug Fixes

Security-Related Bug Fixes

  • Plugin Deletion: Added file validation checks during plugin deletion operations to prevent potential security issues
  • Redirect Validation: Improved redirect validation by stripping control characters before validation to prevent bypass techniques
  • Media Metadata: Enhanced validation of video and audio metadata to prevent potential security vulnerabilities
  • YouTube Embeds: Fixed YouTube video ID handling by implementing proper URL encoding for broader compatibility and security
  • Press This Tool: Added verification of intent before fetching in-page resources using the Press This tool to prevent potential abuse

New Features

No new features were introduced in this release. WordPress 4.2.13 is focused on security improvements and bug fixes to enhance the stability and security of existing functionality.

Security Updates

  • Plugin Management: Added file validation checks during plugin deletion to prevent unauthorized file operations
  • Input Validation: Improved validation of video and audio metadata to prevent potential injection attacks
  • URL Handling: Enhanced YouTube video ID encoding to prevent potential XSS vulnerabilities
  • Redirect Protection: Implemented control character stripping before validating redirects to prevent bypass techniques
  • Press This Security: Added verification step before fetching external resources in the Press This tool to prevent SSRF (Server-Side Request Forgery) attacks

These security fixes address potential vulnerabilities that could be exploited by malicious actors to compromise WordPress sites.

Performance Improvements

This release does not contain specific performance improvements. The changes are primarily focused on security enhancements and bug fixes rather than performance optimizations.

Impact Summary

WordPress 4.2.13 is primarily a security-focused maintenance release that addresses several vulnerabilities without changing core functionality. The impact is largely positive, enhancing security without disrupting existing workflows.

The security improvements focus on preventing potential exploits in plugin management, media handling, URL processing, and the Press This tool. These changes make WordPress installations more resistant to common attack vectors while maintaining compatibility with existing themes and plugins.

For administrators and content creators, the changes are largely transparent but provide important protection against potential security threats. No features were removed or significantly altered in ways that would impact normal site operation.

This release represents WordPress's ongoing commitment to security maintenance even for older branches, though users should still plan to upgrade to newer, fully-supported WordPress versions when possible.

Statistics:

File Changed10
Line Additions36
Line Deletions9
Line Changes45
Total Commits7

User Affected:

  • Enhanced security when managing plugins with improved file validation during deletion
  • Better protection against malicious redirects with improved validation
  • Safer handling of embedded content with improved validation mechanisms

Contributors:

jeremyfeltocean90aaroncampbelljohnbillionnylenSergeyBiryukov