Skip to main content

Strapi CVE-2026-90561

| EUVDEUVD-2026-76986 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-09-13 VulnCheck GHSA-jh7v-p6jw-jwhc
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-role admin account
  2. Delivery
    Store script payload in WYSIWYG rich-text field
  3. Exploit
    Editor/Super Admin expands preview pane
  4. Execution
    Script executes in privileged session
  5. Impact
    Exfiltrate 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Strapi 5.0.0 <5.48.1
Strapi 4.0.0 ≤4.26.2

Affected Packages

euvd strapi fix: 5.48.1

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 8.7 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source headless CMS, common but not ubiquitous
Social Media
3
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Strapi

View all
CVE-2023-22894 MEDIUM POC
4.9 Apr 19

Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting

CVE-2023-38507 CRITICAL POC
9.8 Sep 15

Strapi is the an open-source headless content management system. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2022-27263 CRITICAL POC
9.8 Apr 12

An arbitrary file upload vulnerability in the file upload module of Strapi v4.1.5 allows attackers to execute arbitrary

CVE-2019-18818 CRITICAL POC
9.8 Nov 07

strapi before 3.0.0-beta.17.5 mishandles password resets within packages/strapi-admin/controllers/Auth.js and packages/s

CVE-2022-32114 HIGH POC
8.8 Jul 13

An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XS

CVE-2022-31367 HIGH POC
8.8 Sep 27

Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses. Rated high severity

CVE-2024-37818 HIGH POC
8.6 Jun 20

Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /strapi.io/_next/image.

CVE-2024-34065 HIGH POC
8.1 Jun 12

Strapi is an open-source content management system. Rated high severity (CVSS 8.1), this vulnerability is remotely explo

CVE-2021-28128 HIGH POC
8.1 May 06

In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password

CVE-2023-39345 HIGH POC
7.5 Nov 06

strapi is an open-source headless CMS. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no au

CVE-2023-34235 HIGH POC
7.5 Jul 25

Strapi is an open-source headless content management system. Rated high severity (CVSS 7.5), this vulnerability is remot

CVE-2023-22893 HIGH POC
7.5 Apr 19

Strapi through 4.5.5 does not verify the access or ID tokens issued during the OAuth flow when the AWS Cognito login pro

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy