{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-10821","id":"CVE-2026-10821","title":"Yoast SEO Premium < 27.6.1 - Author+ Arbitrary .htaccess Directive Injection to RCE","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 .","descriptionLong":"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.","published":"2026-09-02T14:16:44.007Z","updated":"2026-09-03T17:50:37.690Z","reserved":"2026-06-04T07:41:54.109Z","status":"Deferred","rejected":false,"assigner":"WPScan","metric":{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"WPScan"},"metrics":[{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"WPScan"},{"version":"3.1","score":6.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"medium","source":"wpscan.com"}],"rating":"medium","products":["Yoast SEO Premium"],"affectedProducts":[{"vendor":"Unknown","product":"Yoast SEO Premium","defaultStatus":"unaffected","versions":[{"status":"affected","versionType":"semver","version":"0","lessThan":"27.6.1"}],"platforms":[]}],"packages":[],"cwes":["CWE-74"],"aliases":[],"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"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00704,"epssPercentile":0.54072,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-10821","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-10821","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-10821","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-10821","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}