Drupal Umami Analytics allows Cross-Site Scripting (XSS)
Impact
This module enables you to add Umami Analytics web statistics tracking system to your website.
Source excerpt · OSVThis vulnerability is mitigated by the fact that an attacker must have a role with the permission “administer umami analytics”.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.0.1Ecosystem versions | 1.0.1 |
Version evidence: OSV · GHSA-jxp8-4jw5-5xjc
View original version evidence (0 explicit versions)
| Affected range | Recorded fix |
|---|---|
| Earlier releases before 1.0.1Ecosystem versions | 1.0.1 |
Version evidence: OSV · DRUPAL-CONTRIB-2025-109
View original version evidence (0 explicit versions)
Original source description
This module enables you to add Umami Analytics web statistics tracking system to your website.
The "administer umami analytics" permission allows inserting an arbitrary JavaScript file on every page. While this is an expected feature, the permission lacks the "restrict access" flag, which should alert administrators that this permission is potentially dangerous and can lead to cross-site scripting (XSS) vulnerabilities.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission “administer umami analytics”.