XSS in Postbird Project

CVE-2021-33570

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.036 (88.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Third Party Advisory, x_refsource_MISC, Issue Tracking)
  • cve@mitre.org (Exploit, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (URL Repurposed, Third Party Advisory, x_refsource_MISC, Broken Link)

Frequently asked questions

What is CVE-2021-33570?
CVE-2021-33570 is a medium-severity vulnerability in Postbird Project, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2021-05-25.
How severe is CVE-2021-33570?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2021-33570 known to be exploited?
3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.