Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- Medium severity, with a CVSS score of 5.1, published 12 June 2026.
- Which products and versions are affected?
- Firefly III <= 6.6.2; grumpydictator/firefly-iii (Packagist) <= 6.6.2.
- Is there a fix for This vulnerability?
- A patch was published on 2026-06-12: Fix merged into develop/released in 6.6.3 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a network appliance.
- Am I affected?
- Check whether you run Firefly III or grumpydictator/firefly-iii (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A stored cross-site scripting (XSS) vulnerability exists in Firefly III due to improper output escaping in the Twig template 'resources/views/list/ale.twig'. The template uses the '|raw' filter on a translation string containing the user-controlled piggy bank name to preserve HTML styling for currency, which inadvertently disables auto-escaping for the name itself. An attacker with low privileges can create a piggy bank with a malicious HTML payload (e.g., using 'onerror' attributes) via the API. When any user views the transaction audit log associated with this piggy bank, the payload executes. This bypasses the default nonce-based CSP because the policy does not restrict 'script-src-attr'. The issue is fixed in version 6.6.3 by explicitly escaping the name parameter.
Affected products
- grumpydictator firefly-iii <= 6.6.2
Timeline
- 2026-05-21: disclosed
- 2026-06-12: advisory: GitHub Advisory published
- 2026-06-12: patched: Fix merged into develop/released in 6.6.3
References
- https://api.github.com/users/alanturing881
- https://github.com/alanturing881
- https://api.github.com/users/alanturing881/gists%7B/gist_id%7D
- https://api.github.com/users/alanturing881/repos
- https://avatars.githubusercontent.com/u/286391906?v=4
- https://api.github.com/users/alanturing881/events%7B/privacy%7D