Design-Level Stored XSS in Matomo i18n Rendering
The write-up describes a design-level trust assumption in Matomo's i18n rendering layer, where translation placeholders are inserted into HTML-capable DOM sinks without contextual escaping. The author only demonstrated non-executing HTML rendering and states that no attacker-controlled write path exists in a default installation, so no actual exploitation was shown.
Published on medium.com
This write-up documents a design-level trust boundary issue identified in Matomo’s internationalization (i18n) rendering pipeline. The issue was reported responsibly through Matomo’s bug bounty program and later determined to be out of scope due to the absence of a directly exploitable attacker-controlled write path…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
If attacker-controlled data could ever reach this layer it could cause persistent XSS in the admin UI, session hijacking and admin action forgery, but the author states no such write path exists in a default installation and the report was ruled out of scope.
What the attacker needed
A persisted data source feeding translations; trust in upstream review process
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Matomo shows text in its admin pages using translation strings, and some of those strings are allowed to contain HTML so they can be styled. The author found that values slotted into those strings are also treated as HTML rather than plain text. They only showed harmless bold text appearing, not script execution, and Matomo said the behaviour is intended and not exploitable by itself.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.