Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 93%

CVE-2026-40487: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gitroomhq postiz-app

0
High
VulnerabilityCVE-2026-40487cvecve-2026-40487cwe-79cwe-345cwe-434
Published: Sat Apr 18 2026 (04/18/2026, 01:19:06 UTC)
Source: CVE Database V5
Vendor/Project: gitroomhq
Product: postiz-app

Description

Postiz is an AI social media scheduling tool. Prior to version 2.21.6, a file upload validation bypass allows any authenticated user to upload arbitrary HTML, SVG, or other executable file types to the server by spoofing the `Content-Type` header. The uploaded files are then served by nginx with a Content-Type derived from their original extension (`text/html`, `image/svg+xml`), enabling Stored Cross-Site Scripting (XSS) in the context of the application's origin. This can lead to session riding, account takeover, and full compromise of other users' accounts. Version 2.21.6 contains a fix.

CVSS v3.1

Score 8.9high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/25/2026, 02:54:50 UTC

Technical Analysis

Postiz-app before version 2.21.6 contains a vulnerability where file upload validation can be bypassed by authenticated users spoofing the Content-Type header, allowing upload of executable files such as HTML or SVG. These files are served by nginx with content types derived from their extensions, enabling stored cross-site scripting (CWE-79) attacks. This vulnerability can result in session riding, account takeover, and full compromise of other users' accounts. The issue is tracked as CVE-2026-40487 with a CVSS 3.1 score of 8.9 (high severity). The vulnerability is fixed in version 2.21.6.

Potential Impact

Successful exploitation allows authenticated users to upload malicious executable files that are served and executed in the context of the application's origin. This can lead to session riding, account takeover, and full compromise of other users' accounts. The vulnerability affects confidentiality and integrity with high impact and availability with low impact.

Mitigation Recommendations

Upgrade postiz-app to version 2.21.6 or later, where this vulnerability has been fixed. Since the vulnerability requires authenticated user access and is resolved in the updated version, applying this official fix is the recommended remediation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-13T19:50:42.114Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e2e080bdfbbecc59c723ab

Added to database: 4/18/2026, 1:38:08 AM

Last enriched: 4/25/2026, 2:54:50 AM

Last updated: 6/2/2026, 1:10:48 AM

Views: 101

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses