What the vulnerability does
01Description
The Simple Yearly Archive plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the `posttype` attribute of the `SimpleYearlyArchive` shortcode in all versions up to, and including, 2.2.4 due to insufficient input sanitization and output escaping on user supplied attributes. 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
Simple Yearly Archive versions 2.2.4 and earlier contain a cross-site scripting (XSS) vulnerability. An attacker with low-level site access can inject malicious scripts that execute in other users' browsers, potentially stealing session tokens or modifying page content. The vulnerability affects all users viewing affected pages, regardless of their privilege level.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers and steal their session data or modify page content.
Potential impact on your site
04Site Impact
Any logged-in user viewing an affected page can have their session hijacked or see altered content without their knowledge.
Conditions required to exploit
05Prerequisites
Attacker needs a low-privilege account on the site; no user interaction required from victims.
Key dates
06Disclosure timeline
August 5, 2026
CVE published