CVE-2025-5940
Osompress Osom Blocks vulnerability
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.
Affected products
Osom Blocks. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Osompress Osom Blocks runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.wordfence.com/threat-intel/vulnerabilities/id/54e022df-0dc7-4f60-811d-48a92b723d55?sou · Third Party Advisory
- plugins.trac.wordpress.org/browser/osomblocks/trunk/blocks/cpt-list/index.php#L171
- wordpress.org/plugins/osomblocks/#developers
- plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3320673%40osomblo
- nvd.nist.gov/vuln/detail/CVE-2025-5940
- cve.org/CVERecord?id=CVE-2025-5940
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.