{"id":"CVE-2026-10821","aliases":["CVE-2026-10821"],"related":[],"kind":"vulnerability","state":"published","title":"Yoast SEO Premium < 27.6.1 - Author+ Arbitrary .htaccess Directive Injection to RCE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-02T14:16:44.007Z","modified":"2026-09-03T17:50:37.690Z","severity":{"scorer":"WPScan","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"WPScan","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.6,"rating":"MEDIUM"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"27.6.1","status":"affected"}],"vendor":"Unknown","product":"Yoast SEO Premium","source":"cvelist"}],"references":[{"url":"https://wpscan.com/vulnerability/2ddd8362-7248-48de-aab9-74c70e7d5dd6/","tags":["exploit","technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://yoast.com/yoast-seo-premium-may-26-2026/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Tin Pham (TF1T)","Trong Pham (dtro)","Hao Ngo","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-02T14:48:28.117Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-10821","url":"https://www.cve.org/CVERecord?id=CVE-2026-10821","licence":"CVE Terms of Use","modified":"2026-09-02T14:57:38.690Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-10821","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10821","licence":"Public domain","modified":"2026-09-03T17:50:37.690Z"}],"updatedAt":"2026-11-25T22:59:36.092Z","epss":{"score":0.00512,"percentile":0.45147,"date":"2026-12-01T12:00:22.000Z"}}