This vulnerability can be exploited remotely over the network, with a regular user account, if a user clicks a link, opens a file or similar.
A successful attack has high impact: reading confidential data.
The impact can spread beyond the vulnerable component.
Weakness type: Cross-site scripting (XSS).
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official 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.
When a sign-in or registration request failed, Postiz sent the error message back as the response body with the default HTML content type. One of those messages included the requested authentication provider name…
To preview a post, Postiz converts its content to the plain text that will be published, which strips tags and then decodes encoded angle brackets back into characters. The editor's preview panes then inserted that…
Hugo after 0.140.2 and before 0.170.0 contains a stored cross-site scripting vulnerability in the highlight shortcode and transform.Highlight template function, which write the wrapperClass option unescaped into the…
DOMPurify before 3.4.18 contains a SAFE_FOR_TEMPLATES bypass that allows attackers to smuggle template expressions past sanitization using nested form elements or orphaned end tags. When the sanitized output is…
phpMyFAQ before 4.1.12 contains a stored cross-site scripting vulnerability that allows delegated admins with the CONFIGURATION_EDIT right to inject scripts via the layout.customCss setting. Attackers can submit a…
XenForo before 2.3.14 contains a reflected cross-site scripting vulnerability in the search form that allows unauthenticated attackers to execute arbitrary JavaScript in a victim's browser. The c[min_reply_count]…