WordPress Plugin Vulnerabilities

MailPoet < 5.22.4 - Authenticated SQLi via sort_by

Description

The subscriber listing API's sort_by parameter uses HTML sanitization (Handler::filterString) instead of SQL identifier validation, then concatenates directly into a DBAL orderBy() call without parameterization. By default requires Admin access, but the mailpoet_manage_subscribers capability can be delegated to Editor/Shop Manager roles via the mailpoet_permission_manage_subscribers filter or Members plugin integration, enabling privilege escalation to full database access.

Proof of Concept

Affects Plugins

Fixed in 5.22.4

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Praetorian Guard
Verified
Yes

Timeline

Publicly Published
2026-04-09 (about 1 month ago)
Added
2026-04-09 (about 1 month ago)
Last Updated
2026-05-11 (about 1 day ago)

Other