Rapid7

vulnerability

WordPress Plugin: s2member-pro: CVE-2024-12563: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
Mar 18, 2025
Added
May 15, 2025
Modified
Apr 30, 2026

Description

The s2Member Pro plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 250214 via the 'template' attribute. This makes it possible for authenticated attackers, with contributor-level and above permissions, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution.

Solution

s2member-pro-plugin-cve-2024-12563
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.