What the vulnerability does
01Description
The Osom Blocks – Custom Post Type listing block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class_name’ parameter in all versions up to, and including, 1.2.1 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
Osom Blocks versions 1.2.1 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. The vulnerability has a changed scope, meaning the impact can extend beyond the vulnerable component itself. Low-privileged users can exploit this without user interaction to compromise site integrity and access sensitive information.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that execute in other users' browsers and affect site functionality.
Potential impact on your site
04Site Impact
Authenticated users can inject scripts affecting other visitors and site operations; data theft or malware distribution possible.
Conditions required to exploit
05Prerequisites
Attacker must have a low-privilege account on the site; no user interaction required.
Key dates
06Disclosure timeline
June 27, 2025
CVE published
April 8, 2026
Record updated