CVE-2019-13644 Firefly III vulnerable to stored XSS

Medium 5.4 Published Updated

Stored XSS in Firefly III allows attackers with similar access rights to execute JavaScript via budget names, potentially leading to session hijacking.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-13644?

CVE-2019-13644 is a medium-severity cross-site scripting vulnerability in n/a, published on 18 Jul 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Firefly III before 4.7.17.1 is vulnerable to stored XSS due to lack of filtration of user-supplied data in a budget name. The JavaScript code is contained in a transaction, and is executed on the tags/show/$tag_number$ tag summary page. NOTE: It is asserted that an attacker must have the same access rights as the user in order to be able to execute the vulnerability

Weakness: CWE-79

Which versions are affected by CVE-2019-13644?

2 open source packages ship an affected version, including grumpydictator/firefly-iii. It affects 1 product.

PackageAffectedFixed in
grumpydictator/firefly-iii PackagistAll versions4.7.17.1
grumpydictator/firefly-iii PackagistAll versions4.7.17.1

Products include Firefly-Iii Firefly Iii.

How do I fix CVE-2019-13644?

Upgrade grumpydictator/firefly-iii to 4.7.17.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2019-13644 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-13644 exists.

Sources

Also known as GHSA-9xmx-rj7j-fv9q.

Is CVE-2019-13644 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free