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
CVE-2025-50754-PoC — Stored XSS in a CMS platform leads to remote code execution (CVE-2025-50754) | Kitploit
Tools/GitHubGitHub/furk4nyildiz/cve-2025-50754-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingPayload Development
GitHubfurk4nyildiz/cve-2025-50754-poc

CVE-2025-50754-PoC

Stored XSS in a CMS platform leads to remote code execution (CVE-2025-50754)

View Repository
4321 year agoNot yet reviewed

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    647
  • 3

    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.

    421
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    389
  • 5

    ARTEX

    baarai/artex

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

    333
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    331

Explore all tools

Browse our collection of tools

View all tools →
Share

[CVE-2025-50754] Stored XSS to Remote Code Execution in a PHP-Based CMS Platform

Summary

A PHP-based CMS platform (version 5) contains a stored Cross-Site Scripting (XSS) vulnerability in the "Report" feature. When an administrator views a user-submitted report, malicious JavaScript is executed within the admin panel context. This enables attackers to hijack the admin session and leverage the built-in template editor to upload a PHP web shell, resulting in full remote code execution (RCE) on the server.

Technical Details

  • Vulnerability Type: Stored Cross-Site Scripting (XSS)
  • Affected Product: CMS Platform v5
  • Attack Type: Remote
  • Impact:
    • Remote Code Execution (RCE): Yes
    • Information Disclosure: Yes

Attack Vector (Abstract Description)

An attacker submits a malicious JavaScript payload through the public-facing "Report" form. When a logged-in administrator views this content in the backend, the script executes in the administrator’s browser, exfiltrating session cookies.

After capturing the session, the attacker gains access to the administrative interface, particularly the template editor. Using this feature, the attacker injects PHP code into a .tpl file to establish a persistent web shell and execute arbitrary commands on the server.

Note: To prevent abuse, no specific payloads or code snippets are included. Organizations are strongly encouraged to implement input validation, session hardening, and access controls on admin features.

Exploitation Steps (High-Level)

  1. The attacker submits a specially crafted report containing a malicious script.
  2. The administrator opens the report via the admin dashboard.
  3. The script runs, and the admin session cookie is captured.
  4. Using the session, the attacker logs into the admin panel.
  5. The attacker injects PHP into a template file via the template editor.
  6. Remote code execution is achieved through the uploaded shell.

Impact

  • Full administrative takeover
  • Execution of arbitrary commands on the server
  • Data leakage or modification
  • Potential persistence via uploaded backdoors

Discoverers

  • Furkan Mehmet Yıldız
  • Emrullah Baha Yılmaz

CVE Information

  • CVE ID: CVE-2025-50754
  • Status: RESERVED (public advisory pending)

Proof of Concept (PoC)

Successful exploitation was confirmed by uploading a custom web shell (s.php) via the template editor and executing OS-level commands. The following sanitized image shows the output of the id; ls -la command executed through the web shell:

Web Shell Output (Sanitized)

This demonstrates that the attacker was able to execute commands and access filesystem contents under the privileges of the web server user.

uid=1003(t******_usr) gid=1006(t******_usr) groups=1006(t******_usr),995(fastmail),1002(fastsecure)
...
-rw-r--r-- 1 t******_usr t******_usr 6481 Nov 27 2024 rss.php
-rw-r--r-- 1 t******_usr t******_usr 64 Jul 31 12:24 s.php

References

  • CVE Record: https://cve.org/CVERecord?id=CVE-2025-50754

Temporary Mitigations

No official patch is available from the vendor as of publication. To reduce risk:

  • Sanitize and escape all user input rendered in the admin panel.
  • Avoid rendering untrusted HTML or JavaScript.
  • Enforce a strict Content Security Policy (CSP).
  • Limit access to sensitive features like the template editor.

Reported by Furkan Yıldız & Baha Yılmaz

Download Tool