CVE-2026-90561
large1· 1 readStored XSS in Strapi CMS Rich-Text Preview Enables Admin Account Takeover
Strapi, the popular open-source headless CMS, fails to strip script tags from rich text rendered by the content manager's WYSIWYG preview component. An authenticated user with the low-privileged Author role can save malicious script tags into rich text fields; when an Editor or Super Admin expands the preview pane, the script executes in their session with full admin privileges, enabling account takeover. All Strapi 4.x releases through 4.26.2 and all 5.x releases before 5.48.1 are affected, particularly deployments with multi-role editorial workflows. No public proof of concept is known, the flaw is not on CISA's KEV list, and no in-the-wild exploitation has been reported at this time.
What to do: Upgrade to Strapi 5.48.1 or later; note that 4.26.2 is the final 4.x release and remains vulnerable, so 4.x deployments must migrate to the patched 5.x line. Until patched, restrict Author-role write access to rich-text fields and audit existing content for injected script tags. Also review admin accounts, API tokens, and audit logs for signs of session hijacking or unauthorized token creation following the fix.
| Strapi (open-source headless CMS) | 4.x through 4.26.2 (all 4.x releases) |
| Strapi (open-source headless CMS) | 5.x before 5.48.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Strapi versions 4.x through 4.26.2 and 5.x before 5.48.1 contain a stored cross-site scripting vulnerability in the content manager WYSIWYG preview component that fails to strip script tags from rich text. An Author-role user can store malicious script tags in rich text fields that execute in an Editor or Super Admin's session when the preview pane is expanded, enabling account takeover.
- Weakness
- CWE-79
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.