What the vulnerability does
01Description
The FlatPM – Ad Manager, AdSense and Custom Code plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'rank_math_description' custom field in all versions up to, and including, 3.2.2 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Explanation of Vulnerability in Simple Terms
02Summary
FlatPM – Ad Manager contains a cross-site scripting (XSS) vulnerability in versions up to 3.2.2. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers, potentially stealing session tokens or modifying page content. The vulnerability affects the entire application scope due to how the flaw is processed.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in other users' browsers to steal data or modify site content.
Potential impact on your site
04Site Impact
Authenticated users can compromise other users' sessions and data; site content can be altered without admin knowledge.
Conditions required to exploit
05Prerequisites
Attacker must be logged in with low-level user privileges; no user interaction required from victims.
Key dates
06Disclosure timeline
January 20, 2026
CVE published
April 8, 2026
Record updated