{"id":"CVE-2024-4335","aliases":["CVE-2024-4335"],"related":[],"kind":"vulnerability","state":"published","title":"Rank Math SEO with AI Best SEO Tools <= 1.0.217 - Authenticated (Contributor+) Stored Cross-Site Scripting","summary":"The Rank Math SEO with AI Best SEO Tools plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘textAlign’ parameter in versions up to, and including, 1.0.217 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Rank Math SEO with AI Best SEO Tools plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘textAlign’ parameter in versions up to, and including, 1.0.217 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","source":"cvelist"},{"lang":"es","text":"El complemento Rank Math SEO con AI Best SEO Tools para WordPress es vulnerable a Cross-Site Scripting Almacenado a través del parámetro 'textAlign' en versiones hasta la 1.0.217 incluida debido a una sanitización de entrada y un escape de salida insuficientes. Esto hace posible que atacantes autenticados, con permisos de nivel de colaborador y superiores, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2024-05-09T20:03:33.881Z","modified":"2026-06-17T08:01:41.920Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.0.217","status":"affected"}],"vendor":"rankmath","product":"Rank Math SEO – AI SEO Tools to Dominate SEO Rankings","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.0.218"}],"vendor":"rankmath","product":"seo","cpe":"cpe:2.3:a:rankmath:seo:*:*:*:*:free:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/96eba67c-58e7-4eea-84d4-9b3bb275b42d?source=cve","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/seo-by-rank-math/tags/1.0.217/includes/modules/schema/blocks/class-block.php#L64","tags":["product","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3080259/#file26","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["wesley"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-06-12T19:31:26.522Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4335","url":"https://www.cve.org/CVERecord?id=CVE-2024-4335","licence":"CVE Terms of Use","modified":"2026-04-08T17:10:20.417Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4335","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4335","licence":"Public domain","modified":"2026-06-17T08:01:41.920Z"}],"updatedAt":"2026-11-25T22:58:40.227Z","epss":{"score":0.00429,"percentile":0.39068,"date":"2026-12-01T12:00:22.000Z"}}