# CVE-2024-32986: Arbitrary code execution due to improper sanitization of web app properties in PWAsForFirefox

- Severity: Critical 9.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2024-05-03T09:58:32.506Z
- Modified: 2026-06-17T07:30:49.507Z
- Weaknesses: CWE-74, CWE-93, CWE-150
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

PWAsForFirefox is a tool to install, manage and use Progressive Web Apps (PWAs) in Mozilla Firefox. Due to improper sanitization of web app properties (such as name, description, shortcuts), web apps were able to inject additional lines into XDG Desktop Entries (on Linux) and `AppInfo.ini` (on PortableApps.com). This allowed malicious web apps to introduce keys like `Exec`, which could run arbitrary code when the affected web app was launched. This vulnerability affects all Linux and PortableApps.com users of all PWAsForFirefox versions up to (excluding) 2.12.0. Windows and macOS users are not affected. This vulnerability has been fixed in commit `9932d4b` which has been included in release in v2.12.0. The main fix is implemented in the native part, but the extension also contains additional fixes. All Linux and PortableApps.com users are advised to update to this version as soon as possible. It is also recommended for Windows and macOS users to update to this version, as it contains additional fixes related to properties sanitization. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- filips123 PWAsForFirefox: < 2.12.0; -

## References

- <https://github.com/filips123/PWAsForFirefox/security/advisories/GHSA-jmhv-m7v5-g5jq>
- <https://github.com/filips123/PWAsForFirefox/commit/9932d4b289631d447f88ace09a2fabafe4cd5bd5>
- <https://github.com/filips123/PWAsForFirefox/releases/tag/v2.12.0>

## Sources

- CVE List: [CVE-2024-32986](https://www.cve.org/CVERecord?id=CVE-2024-32986), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2024-32986](https://nvd.nist.gov/vuln/detail/CVE-2024-32986), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32986 · Whole record: https://cve.day/CVE-2024-32986.json · Rebuilt by cve.day 2026-11-25T22:58:39.926Z
