CVE-2026-40487: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gitroomhq postiz-app
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 Analysis
Technical Summary
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.
CVE-2026-40487: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in gitroomhq 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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.