Skip to content
Path traversal Write-up Beginner

Kubio AI Page Builder <= 2.5.1 — Unauthenticated Local File Inclusion ([CVE-2025–2294](https://github.com/Nxploited/CVE-2025-2294))

The Kubio AI Page Builder plugin for WordPress up to version 2.5.1 contains an unauthenticated local file inclusion flaw in the kubio_hybrid_theme_load_template function. An attacker can include and execute arbitrary files on the server, potentially leading to full system compromise.

Muhammad Nizar Follow

Published on infosecwriteups.com

CVE-2025–2294 is a critical vulnerability affecting the Kubio AI Page Builder plugin for WordPress, versions up to and including 2.5.1. This flaw stems from an unauthenticated Local File Inclusion (LFI) issue in the kubiohybridthemeloadtemplate function, allowing attackers to include and execute arbitrary files on the…

Muhammad Nizar, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the plugin fails to validate or sanitise the template path supplied via the __kubio-site-edit-iframe-classic-template parameter before including it.

Impact

An attacker could bypass access controls, access sensitive data, or execute arbitrary PHP code, potentially leading to full system compromise.

What the attacker needed

WordPress with Kubio AI Page Builder ≤ 2.5.1; No authentication required

How it was found

  1. Identify the vulnerable endpoint that reads URL parameters for iframe preview and templates.
  2. Construct a URL with the __kubio-site-edit-iframe-preview parameter set to true and the __kubio-site-edit-iframe-classic-template parameter set to a path traversal sequence targeting a sensitive file.
  3. Send the request to the target; the plugin includes the specified file, potentially disclosing its contents or executing code.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Local File Inclusion (LFI) is a bug where a website lets a user trick it into loading a file from the server that it should not show. Here, the Kubio plugin takes a template name from the URL and uses it without checking, so an attacker can ask for sensitive files like the system password file. This can lead to reading private data or even running malicious code.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Muhammad Nizar

View all

4 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.