Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/lipeozyy/cve-2026-42322
Vulnerability AnalysisExploitationWeb Application ExploitationWeb Security
GitHublipeozyy/cve-2026-42322

CVE-2026-42322

Proof-of-concept for CVE-2026-42322, a WordPress theme logo upload flaw where MIME validation is bypassed via double extensions, allowing PHP execution.

View Repository
1 month agoNot yet reviewed
Share

CVE-2026-42322

What it is

The logo upload at admin.php?page=themes_standard_pages validates the file with mime_content_type(), which looks at the actual content, but then builds the final filename using the extension that came in the original name. So: you send a shell.svg.php, it sees the content starts with <svg> (mime = image/svg+xml), passes the whitelist, and Apache later executes it as PHP because the last extension is .php.

The vulnerable code is basically this:

$mime_type = mime_content_type($_FILES['std_pgs_logo']['tmp_name']);

$allowed_mimes = array('image/png','image/jpeg','image/svg+xml','image/svg');

$pathinfo  = pathinfo($_FILES['std_pgs_logo']['name']);
$filename  = str2url($pathinfo['filename']);
$extension = strtolower($pathinfo['extension']);   

$new_name  = $filename . '.' . $extension;         
$file_path = $upload_dir . '/' . $new_name;

Since it's already been fixed, I'm keeping the PoC here for future reference.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    930
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    554
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    354
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    349
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    326
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →