CVE-2026-1217: Yoast/duplicate post Yoast Duplicate Post Has An Vulnerability

MODERATE
Advisory Identifier: GHSA-g9w4-m5fx-x3wv
CVSS 5.4
CWE-862
Published
Advisory Summary

CVE-2026-1217 is a MODERATE (CVSS 5.4) yoast duplicate post has an vulnerability (CWE-862: Missing Authorization) affecting Yoast/duplicate post libraries in the Packagist ecosystem. The issue involves yoast duplicate post has an authenticated (contributor+) missing authorization to arbitrary post duplication and overwrite. Remediation is available by upgrading affected packages to version 4.6.

CVE-2026-1217 at a Glance

CVE Identifier CVE-2026-1217
GHSA Identifier GHSA-g9w4-m5fx-x3wv
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-862: Missing Authorization
Affected Product Yoast/duplicate post
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-1217

To remediate this vulnerability, upgrade all affected Yoast/duplicate post dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

yoast/duplicate-post fixed: 4.6
Upgrade yoast/duplicate-post to 4.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for yoast/duplicate-post

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-1217, inspect your project dependencies for Yoast/duplicate post:

inspect dependencies for yoast/duplicate-post

Analyze the terminal output to locate any version of Yoast/duplicate post in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Yoast/duplicate post, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The Yoast Duplicate Post plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the clone_bulk_action_handler() and republish_request() functions in all versions up to, and including, 4.5. This makes it possible for authenticated attackers, with Contributor-level access and above, to duplicate any post on the site including private, draft, and trashed posts they shouldn't have access to. Additionally, attackers with Author-level access and above can use the Rewrite & Republish feature to overwrite any published post with their own content.

CVE-2026-1217 Affected Yoast/duplicate post Versions

1 component(s)
Fixed Versions:
4.6
Product / Package Ecosystem Affected Versions Fixed Version
yoast/duplicate-post
Packagist
< 4.6
4.6

References

Frequently Asked Questions

What is CVE-2026-1217?
CVE-2026-1217 is a security vulnerability in Yoast/duplicate post involving Yoast Duplicate Post has an Authenticated (Contributor+) Missing Authorization to Arbitrary Post Duplication and Overwrite under CWE-862: Missing Authorization.
Which Yoast/duplicate post versions are affected?
Affected versions include releases prior to 4.6 across affected packages: yoast/duplicate-post.
What version fixes CVE-2026-1217?
Upgrading to 4.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is yoast/duplicate-post affected?
Yes, yoast/duplicate-post is affected in releases prior to 4.6. Upgrade your dependency to 4.6 or later.
What is the CVSS score of CVE-2026-1217?
CVE-2026-1217 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-1217?
CVE-2026-1217 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for CVE-2026-1217?
Run the dependency tree command: 'inspect dependencies for yoast/duplicate-post'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-g9w4-m5fx-x3wv",
  "modified" : "2026-03-19T19:37:40Z",
  "published" : "2026-03-18T12:31:51Z",
  "aliases" : [ "CVE-2026-1217" ],
  "summary" : "Yoast Duplicate Post has an Authenticated (Contributor+) Missing Authorization to Arbitrary Post Duplication and Overwrite",
  "details" : "The Yoast Duplicate Post plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the clone_bulk_action_handler() and republish_request() functions in all versions up to, and including, 4.5. This makes it possible for authenticated attackers, with Contributor-level access and above, to duplicate any post on the site including private, draft, and trashed posts they shouldn't have access to. Additionally, attackers with Author-level access and above can use the Rewrite & Republish feature to overwrite any published post with their own content.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "yoast/duplicate-post"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.5"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1217"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Yoast-dist/duplicate-post"
  }, {
    "type" : "WEB",
    "url" : "https://plugins.trac.wordpress.org/browser/duplicate-post/tags/4.5/src/handlers/bulk-handler.php#L115"
  }, {
    "type" : "WEB",
    "url" : "https://plugins.trac.wordpress.org/browser/duplicate-post/tags/4.5/src/post-republisher.php#L128"
  }, {
    "type" : "WEB",
    "url" : "https://www.wordfence.com/threat-intel/vulnerabilities/id/05f175e6-08a9-4199-948c-5bd8b3caaa39?source=cve"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-19T19:37:40Z",
    "nvd_published_at" : "2026-03-18T10:16:23Z"
  }
}