Vulnerability database / CVE-2021-33570
CVE-2021-33570
MEDIUM 5.4 CVSS 3.1 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.
Published 25 May 2021
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-79 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD
nvd@nist.gov (Primary)
CVSS 2.0
LOW 3.5
AV:N/AC:M/Au:S/C:N/I:P/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
postbird_project
postbirdcpe:2.3:a:postbird_project:postbird:0.8.4:*:*:*:*:*:*:*
= 0.8.4
References
http://packetstormsecurity.com/files/162831/Postbird-0.8.4-Cross-Site-Scripting-Local-File-Inclusion.html · Exploit, Third Party Advisory, VDB Entry http://packetstormsecurity.com/files/162872/Postbird-0.8.4-XSS-LFI-Insecure-Data-Storage.html · Third Party Advisory, VDB Entry https://github.com/Paxa/postbird/issues/132 · Issue Tracking, Third Party Advisory https://github.com/Paxa/postbird/issues/133 · Issue Tracking, Third Party Advisory https://github.com/Paxa/postbird/issues/134 · Issue Tracking, Third Party Advisory https://github.com/Tridentsec-io/postbird · Exploit, Third Party Advisory https://tridentsec.io/blogs/postbird-cve-2021-33570/ · Broken Link, Third Party Advisory, URL Repurposed https://www.exploit-db.com/exploits/49910 · Exploit, Third Party Advisory, VDB Entry
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 25 May 2021)