SQL injection vulnerability in the wp_untrash_post_comments function in wp-includes/post.php in WordPress before 4.2.4 allows remote attackers to execute arbitrary SQL commands via a comment that is mishandled after retrieval from the trash.
Severity
Not rated by the source.
Dates
Published
2015-11-09 11:59 UTC
Modified
2026-09-09 06:47 UTC
Affected packages and fixes
wordpress
Debian packages (deb) · Debian 12
Affected
introduced 0, fixed 4.2.4+dfsg-1 (ecosystem)
Fixed versions
4.2.4+dfsg-1
Fix
Fixed version 4.2.4+dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
wordpress
Debian packages (deb) · Debian 13
Affected
introduced 0, fixed 4.2.4+dfsg-1 (ecosystem)
Fixed versions
4.2.4+dfsg-1
Fix
Fixed version 4.2.4+dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
wordpress
Debian packages (deb) · Debian 14
Affected
introduced 0, fixed 4.2.4+dfsg-1 (ecosystem)
Fixed versions
4.2.4+dfsg-1
Fix
Fixed version 4.2.4+dfsg-1
sudo apt-get update && sudo apt-get upgrade
This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.