Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as Contributor
-
DeliveryNavigate to post editor
-
ExploitInsert Osom Blocks CPT listing block
-
InstallInject malicious JavaScript in class_name
-
C2Save/Publish post
-
ExecuteVictim accesses page
-
ImpactXSS executes in victim's browser
-
Step 8Attacker achieves script execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must possess an authenticated WordPress account with at least Contributor-level privileges (or higher, such as Author or Editor). The Osom Blocks plugin must be installed and active, and the attacker must be able to add or edit posts using the block. The 'class_name' parameter is exposed in the block's interface; no special configuration or non-default settings are required beyond the plugin being active. The limiting factor is the authentication requirement (PR:L) - this is not exploitable by unauthenticated remote attackers. |
| Impact | Based on the CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N), the vulnerability requires authentication with at least Contributor-level privileges, limiting exploitation to privileged users. The EPSS score of 0.04% (percentile 11%) suggests a very low probability of exploitation in the wild. It is not listed in CISA KEV and no public proof-of-concept was reported. While the scope change (S:C) means injected scripts affect other users, the practical risk remains moderate due to the authentication requirement and low impact on confidentiality and integrity. There is no conflict between signals; the low EPSS aligns with the absence of active exploitation claims. |
| Exploit ScenarioDerived | A WordPress user with Contributor-level access edits a post and adds the Osom Blocks CPT listing block. In the block settings, they inject a malicious payload into the 'class_name' field, such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 26, 2026
Stored Cross-Site Scripting in the Osom Blocks WordPress plugin allows authenticated attackers with Contributor-level access or higher to inject arbitrary web scripts via the class_name parameter, executing whenever a user views the compromised page. The vulnerability affects all versions up to 1.2.1 and carries a CVSS score of 6.4 (Medium) with an EPSS probability of 0.04%, indicating low exploitation likelihood. No active exploitation (KEV) or public exploit code has been identified at this time.
RemediationAI
Update the Osom Blocks plugin to version 1.2.2 or later (if released) by obtaining the latest version from the WordPress plugin directory (https://wordpress.org/plugins/osomblocks/#developers). Alternatively, apply the patch from the referenced Trac changeset manually. As a workaround, restrict the Contributor role or disable the plugin until patched. No specific side effects are anticipated from updating, but disabling the plugin would remove the custom post type listing block functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the Osom Blocks WordPress plugin, which provides a custom post type listing block via the Gutenberg editor. It stems from insufficient input sanitization and output escaping on the 'class_name' parameter, leading to Stored Cross-Site Scripting (CWE-79). The affected CPE is cpe:2.3:a:osompress:osom_blocks:*:*:*:*:*:wordpress:*:*, indicating the plugin is designed for WordPress environments. The flaw allows authenticated users to store malicious JavaScript that executes in the context of other users' browsers when they access the page, typical of stored XSS in WordPress plugins.
Know when Osom Blocks gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Requires authenticated Contributor access (PR:L); network vector, low complexity; impacts limited to low confidentiality and integrity with scope change.
Primary rating from NVD.
CVSS VectorNVD
DescriptionCVE.org
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.
Executive ViewAI
Organizations using all should be aware of moderate risk from CVE-2025-5940, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2025-19355
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB