Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-role admin account
-
DeliveryStore script payload in WYSIWYG rich-text field
-
ExploitEditor/Super Admin expands preview pane
-
ExecutionScript executes in privileged session
-
ImpactExfiltrate session/credentials for account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Strapi admin-panel account with at least the Author role (PR:L) able to save rich-text/markdown content, and a higher-privileged victim (Editor or Super Admin) who subsequently opens that entry and expands the WYSIWYG preview pane (UI:P) - the payload does not fire until the preview is rendered. It applies to Strapi 4.x ≤ 4.26.2 and 5.x < 5.48.1 using the content manager's WYSIWYG field. Limiting factors: attacker must already have a valid Author account, victim interaction is mandatory (the preview must be expanded), and instances that never grant lower-trust users content-authoring roles have a much smaller practical attack surface. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N, base 9.3) is internally consistent with the description: network-reachable admin panel, low attacker privilege (an Author account), and passive victim interaction (a reviewer expanding the preview). This is a genuine privilege-escalation-via-XSS path - a low-trust content contributor can seize a Super Admin session - which is a realistic threat in multi-author editorial deployments. Tempering factors: exploitation requires an authenticated Author account (PR:L), depends on a higher-privileged user actually opening the malicious entry's preview (UI:P), and there is no CISA KEV listing and no public exploit identified at time of analysis, so no evidence of active exploitation or automatability yet. EPSS is not provided in the input. Net: a real, actionable priority for any Strapi instance with untrusted or lower-trust authors, but not a mass-exploitation, unauthenticated-internet-scanning class of bug. |
| Exploit ScenarioDerived | A malicious or compromised Author-role user creates or edits a content entry, placing a script payload (e.g. a session-token exfiltration or admin-API-call script) into a rich-text/markdown field and saves it. Later an Editor or Super Admin opens that entry and expands the WYSIWYG preview pane, at which point the stored script executes in their authenticated admin session, allowing account takeover. No public exploit is identified at time of analysis, but the technique is straightforward stored XSS. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 13, 2026
Stored cross-site scripting in Strapi's headless CMS admin panel allows a low-privileged Author to inject persistent JavaScript that runs in the session of Editor or Super Admin reviewers. The WYSIWYG preview component (PreviewWysiwyg.tsx) rendered markdown through a sanitize-html configuration set to allowedTags:false, permitting script tags to survive into the DOM; when a higher-privileged user expands the preview pane the payload executes, enabling account takeover. It affects Strapi 4.x through 4.26.2 and 5.x before 5.48.1, was reported by VulnCheck, and carries a CVSS 4.0 base of 9.3, with no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade Strapi 5.x to 5.48.1 or later, which replaces the permissive sanitize-html preview logic with a DOMPurify-based sanitizer (fix commit https://github.com/strapi/strapi/commit/875752612c30f951546904a29469e51e17e0ac37). For 4.x, which is affected through 4.26.2, apply the corresponding fixed release or migrate to a patched 5.x; consult the VulnCheck advisory (https://www.vulncheck.com/advisories/strapi-4-x-through-4.26.2-and-5-x-before-5.48.1-stored-xss-via-wysiwyg) and issue 26857 for version guidance. Until patched, reduce exposure by restricting who holds the Author role to trusted users, having Editors/Super Admins avoid expanding the WYSIWYG preview pane on entries authored by less-trusted accounts, and reviewing existing rich-text field content for stored script tags - note these are operational trade-offs that limit the editorial workflow and do not fully close the flaw, so patching remains the real fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Strapi is a widely used open-source Node.js/React headless CMS whose admin content manager offers a rich-text (markdown) field with a live HTML preview. The root cause is CWE-79 (improper neutralization of input during web page generation): PreviewWysiwyg.tsx passed markdown-it rendered HTML to sanitize-html with allowedTags:false, which in sanitize-html means 'allow every tag' rather than 'allow none' - so script and style tags passed straight through, as even a stale in-code comment acknowledged ('we allow script and style tags'). The vendor fix (commit 875752612c30) removes the sanitize-html dependency entirely and introduces a scoped DOMPurify instance (createDOMPurify(window)) with a curated ALLOWED_ATTR allowlist, a URL-scheme regexp, ALLOW_DATA_ATTR:false, and an afterSanitizeAttributes hook that strips data: URIs on media tags to match the prior scheme behavior, so script/iframe and similar tags are now dropped by DOMPurify's default tag allowlist. CPE cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:* identifies the affected package.
Know when Strapi gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Author-level auth (PR:L) and required victim preview interaction (UI:R); stored XSS crosses into another user's admin session (S:C) yielding high confidentiality/integrity impact, no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Strapi content management platform (versions 4.x through 4.26.2 and 5.x before 5.48.1) contains a vulnerability allowing staff with author-level permissions to inject malicious code into draft content that automatically executes when administrators or editors review submissions. This creates a direct escalation path to compromise administrative accounts, enabling unauthorized content publication, system access, and potential data breaches affecting any organization relying on Strapi for content management.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting
Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability
An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary
strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s
An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS
Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity
Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.
Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo
In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password
strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au
Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot
Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro
EUVD-2026-76986
GHSA-jh7v-p6jw-jwhc
NVD
CVE.org
EPSS
Exploit-DB