Stored cross-site scripting on the public post preview page through tooltip attributes
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| GitroomHQ | postiz-app | unaffected |
|
No data.
No data.
No data available yet.
Vendor Solution
Upgrade to Postiz v2.26.1 or later.
Vendor Workaround
Set DISABLE_REGISTRATION=true. The attacker needs an ordinary account, so closing self-registration limits exposure to people who already hold one. This reduces reach, it does not close the issue.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Postiz sanitizes post content when it is saved and again when the public preview page renders it, keeping only an allowlist of tags and attributes. The sanitizer still let every data and aria attribute through, whatever its name or value. The preview page includes a tooltip component that renders the HTML found in the data-tooltip-html attribute of any element in the page that refers to it. A post containing an element with those tooltip attributes was therefore stored and rendered unchanged, and when a visitor moved the mouse over it, the tooltip inserted the attribute's markup into the page as live HTML. The script runs on the application's origin with the visitor's session. | |
| Title | Stored cross-site scripting on the public post preview page through tooltip attributes | |
| Weaknesses | CWE-183 CWE-79 |
|
| References |
| |
| Metrics |
cvssV3_1
|
No data.