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…

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

CVE-2026-40487 is a high-severity Stored Cross-Site Scripting (XSS) vulnerability in gitroomhq's postiz-app versions prior to 2. 21. 6. It allows authenticated users to bypass file upload validation by spoofing the Content-Type header and upload arbitrary executable files such as HTML or SVG. These files are served with their original content types, enabling malicious scripts to execute in the context of the application. This vulnerability can lead to session riding, account takeover, and compromise of other users' accounts. The issue is fixed in version 2. 21. 6.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/18/2026, 01:53:06 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. This allows uploading of arbitrary HTML, SVG, or other executable file types. The server (nginx) serves these files with content types based on their extensions, such as text/html or image/svg+xml, enabling Stored Cross-Site Scripting (CWE-79). The vulnerability can result in session riding, account takeover, and full compromise of other users' accounts. The fix is included in version 2.21.6.

Potential Impact

An authenticated attacker can upload malicious executable files that are served by the application with executable content types, enabling Stored XSS attacks. This can lead to session riding, account takeover, and potentially full compromise of other users' accounts. The CVSS v3.1 score is 8.9 (high), reflecting the network attack vector, low attack complexity, required privileges, user interaction, and high impact on confidentiality and integrity with low impact on availability.

Mitigation Recommendations

Upgrade postiz-app to version 2.21.6 or later, which contains a fix for this vulnerability. Since the vendor advisory does not provide additional remediation details, applying the official update is the recommended action. Patch status is confirmed by the version information in the description. No alternative mitigations are indicated.

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/18/2026, 1:53:06 AM

Last updated: 4/18/2026, 4:23:50 AM

Views: 8

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