Skip to main content
EPSS 0.5%top 58%

CVE-2026-10821: CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in Yoast SEO Premium

0
Medium
VulnerabilityCVE-2026-10821cvecve-2026-10821cwe-74
Published: 09/02/2026 (09/02/2026, 14:16:44 UTC)
Source: CVE Database V5
Product: Yoast SEO Premium

Description

The Yoast SEO Premium WordPress plugin before 27.6.1 does not sanitize control characters from redirect origins before writing them to the site's Apache configuration file when the file-based redirect mode is enabled, and the redirect-creation endpoint is reachable by users with only Author-level access. This allows such users to inject arbitrary newline-delimited Apache directives into the root .htaccess file. On Apache servers that honour PHP directives, the injection can be chained with the user's own media upload (a polyglot image carrying a PHP payload) and an auto_prepend_file directive to achieve Remote Code Execution.

CVSS v3.1

Score 6.6medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

Yoast SEO Premium

Affected versions
>=0 <27.6.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 13:51:54 UTC

Technical Analysis

The Yoast SEO Premium WordPress plugin prior to version 27.6.1 fails to sanitize control characters from redirect origins before writing them to the Apache .htaccess configuration file when file-based redirect mode is enabled. The redirect-creation endpoint is accessible to users with Author-level privileges, allowing such users to inject newline-delimited Apache directives. On Apache servers that process PHP directives, this injection can be combined with a user-uploaded polyglot image containing a PHP payload and an auto_prepend_file directive to achieve remote code execution. The CVSS 3.1 base score is 6.6, reflecting a medium severity with network attack vector, high privileges required, and high impact on confidentiality, integrity, and availability.

Potential Impact

An attacker with Author-level access can inject arbitrary Apache directives into the root .htaccess file, potentially leading to remote code execution on vulnerable Apache servers configured to honor PHP directives. This compromises the confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Author-level user access to the redirect-creation endpoint and disable file-based redirect mode if possible to mitigate the risk of Apache directive injection.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
WPScan
Date Reserved
2026-06-04T07:41:54.109Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a983bc6acd9273b496145c6

Added to database: 09/02/2026, 15:07:50 UTC

Last enriched: 09/07/2026, 13:51:54 UTC

Last updated: 10/17/2026, 18:48:16 UTC

Views: 109

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses