---
id: CVE-2025-12366
title: >-
  The Page Builder: Pagelayer – Drag and Drop website builder plugin for
  WordPress is vulnerable to Insecure Direct Object Reference in all versions up
  to, and including, 2.0.5 via the pagelayer_replace_page function due to
  missing validat…
summary: >-
  The Page Builder: Pagelayer – Drag and Drop website builder plugin for
  WordPress is vulnerable to Insecure Direct Object Reference in all versions up
  to, and including, 2.0.5 via the pagelayer_replace_page function due to
  missing validat…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-639
published: '2025-11-13'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T21:10:00.200'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12366'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/pagelayer/tags/2.0.4/main/replace-media.php#L31
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3394407%40pagelayer%2Ftrunk&old=3384061%40pagelayer%2Ftrunk&sfp_email=&sfph_mail=
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/2216d82c-29ae-4355-8118-6ebc49726c12?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00238
epssPercentile: 0.13608
ingestedAt: '2026-10-07T21:54:15.019Z'
---

## Overview

The Page Builder: Pagelayer – Drag and Drop website builder plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 2.0.5 via the pagelayer_replace_page function due to missing validation on a user controlled key. This makes it possible for authenticated attackers, with Author-level access and above, to replace media files belonging to other users, including administrators.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
