Stored XSS Vulnerability in Postbird 0.8.4 via onerror Attribute of IMG Element

Stored XSS Vulnerability in Postbird 0.8.4 via onerror Attribute of IMG Element

CVE-2021-33570 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

Learn more about our Cis Benchmark Audit For Microsoft Sql Server.