CVE Explorer
CVE-2026-40487
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-434","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/2/descriptions/0
Affected products and versions
1 source assertion{"product":"postiz-app","vendor":"gitroomhq","versions":[{"status":"affected","version":"< 2.21.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.9,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-345","description":"CWE-345: Insufficient Verification of Data Authenticity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-434","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/problemTypes/2/descriptions/0
Source references
3 source assertions{"name":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.6","tags":["x_refsource_MISC"],"url":"https://github.com/gitroomhq/postiz-app/releases/tag/v2.21.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/references/1
{"name":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-44wg-r34q-hvfx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-44wg-r34q-hvfx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/gitroomhq/postiz-app/security/advisories/GHSA-44wg-r34q-hvfx"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:7b2b19493bbe575a7dafe1eb1b6c2f3a268112f08858abc83ee1f0d0b8026758 · sha256:13fc5886cfd07137… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.