HighVulnerability
CVE-2026-40487: Postiz file upload validation bypass allows stored cross-site scripting
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-40487
- Published
- Record updated
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
Summary
Postiz, an AI social media scheduling tool, has a file upload validation bypass in versions prior to 2.21.6. Any authenticated user can spoof the Content-Type header to upload HTML, SVG or other executable files, which nginx then serves with a Content-Type derived from the original extension. This enables stored XSS in the application's origin, with session riding and account takeover of other users possible.
Mitigation
Version 2.21.6 contains a fix.
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online