{"id":"CVE-2026-10821","published":"2026-09-02T14:16:44Z","modified":"2026-09-02T14:57:38Z","title":"Yoast SEO Premium < 27.6.1 - Author+ Arbitrary .htaccess Directive Injection to RCE","vendor":null,"product":"Yoast SEO Premium","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00704,"percentile":0.54213,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://wpscan.com/vulnerability/2ddd8362-7248-48de-aab9-74c70e7d5dd6/","tags":["exploit","vdb-entry","technical-description"]},{"url":"https://yoast.com/yoast-seo-premium-may-26-2026/","tags":["vendor-advisory"]}],"priority":{"score":20.5,"factors":[{"name":"EPSS percentile","points":10.84},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.62}]},"affectedVersions":[{"vendor":"Unknown","product":"Yoast SEO Premium","versions":["< 27.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-02T14:48:28.117001Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-70033","exploited":false,"provenance":"source"},"exploitRefs":["https://wpscan.com/vulnerability/2ddd8362-7248-48de-aab9-74c70e7d5dd6/"]}