CVE-2025-5940: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in osompress Osom Blocks
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.
AI Analysis
Technical Summary
The Osom Blocks WordPress plugin suffers from a stored XSS vulnerability due to improper neutralization of input in the 'class_name' parameter. This allows authenticated contributors or higher to inject malicious scripts into pages, which execute upon page access by other users. The vulnerability is tracked as CVE-2025-5940 with a CVSS 3.1 score of 6.4 (medium severity). No patch or remediation details have been provided, and the plugin is not a cloud service, so remediation depends on vendor updates or user action.
Potential Impact
An attacker with Contributor-level or higher privileges can exploit this vulnerability to inject persistent malicious scripts into WordPress pages. This can lead to unauthorized script execution in the context of users viewing the infected pages, potentially resulting in session hijacking, privilege escalation, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Osom Blocks plugin if feasible. Monitor vendor channels for updates and apply patches promptly once available.
CVE-2025-5940: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in osompress Osom Blocks
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Osom Blocks WordPress plugin suffers from a stored XSS vulnerability due to improper neutralization of input in the 'class_name' parameter. This allows authenticated contributors or higher to inject malicious scripts into pages, which execute upon page access by other users. The vulnerability is tracked as CVE-2025-5940 with a CVSS 3.1 score of 6.4 (medium severity). No patch or remediation details have been provided, and the plugin is not a cloud service, so remediation depends on vendor updates or user action.
Potential Impact
An attacker with Contributor-level or higher privileges can exploit this vulnerability to inject persistent malicious scripts into WordPress pages. This can lead to unauthorized script execution in the context of users viewing the infected pages, potentially resulting in session hijacking, privilege escalation, or other client-side attacks. The impact is limited to confidentiality and integrity with no direct availability impact. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Osom Blocks plugin if feasible. Monitor vendor channels for updates and apply patches promptly once available.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-09T16:00:30.622Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 685e499eca1063fb87560134
Added to database: 6/27/2025, 7:34:54 AM
Last enriched: 4/9/2026, 5:40:09 PM
Last updated: 5/10/2026, 3:42:37 AM
Views: 137
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.