Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-40487— Postiz Has Unrestricted File Upload via MIME Type Spoofing that Leads to Stored XSS

CVSS 8.9 · High EPSS 0.02% · P6
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-40487

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Postiz Has Unrestricted File Upload via MIME Type Spoofing that Leads to Stored XSS
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
Gitroom Postiz 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Gitroom Postiz是Gitroom开源的一个社交媒体日程安排工具。 Gitroom Postiz 2.21.6之前版本存在安全漏洞,该漏洞源于文件上传验证绕过,可能导致存储型跨站脚本攻击、会话劫持和账户接管。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
gitroomhqpostiz-app < 2.21.6 -

II. Public POCs for CVE-2026-40487

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40487

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2026-40487

No comments yet


Leave a comment