Description
Postbird 0.8.4 allows stored XSS via the onerror attribute of an IMG element in any PostgreSQL database table. This can result in reading local files via vectors involving XMLHttpRequest and open of a file:/// URL, or discovering PostgreSQL passwords via vectors involving Window.localStorage and savedConnections.
Metrics
CVSS 3.1 5.4/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclusion.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.htmlThird Party Advisory, VDB Entry
- https://github.com/Paxa/postbird/issues/132Issue Tracking, Third Party Advisory
- https://github.com/Paxa/postbird/issues/133Issue Tracking, Third Party Advisory
- https://github.com/Paxa/postbird/issues/134Issue Tracking, Third Party Advisory
- https://github.com/Tridentsec-io/postbirdExploit, Third Party Advisory
- https://tridentsec.io/blogs/postbird-cve-2021-33570/Broken Link, Third Party Advisory, URL Repurposed
- https://www.exploit-db.com/exploits/49910Exploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclusion.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.htmlThird Party Advisory, VDB Entry
- https://github.com/Paxa/postbird/issues/132Issue Tracking, Third Party Advisory
- https://github.com/Paxa/postbird/issues/133Issue Tracking, Third Party Advisory
- https://github.com/Paxa/postbird/issues/134Issue Tracking, Third Party Advisory
- https://github.com/Tridentsec-io/postbirdExploit, Third Party Advisory
- https://tridentsec.io/blogs/postbird-cve-2021-33570/Broken Link, Third Party Advisory, URL Repurposed
- https://www.exploit-db.com/exploits/49910Exploit, Third Party Advisory, VDB Entry
Timeline
- Published
- May 25, 2021
- Last modified
- Jun 17, 2026
- NVD status
- Modified