# CVE-2021-43540: WebExtensions with the correct permissions were able to create and install ServiceWorkers for third-party websites that would not have been…

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- 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.89%, higher than 60% of CVEs (2026-12-01)
- Published: 2021-12-08T21:20:08.000Z
- Modified: 2026-06-17T04:11:05.853Z
- Assigned by: mozilla

## Description

WebExtensions with the correct permissions were able to create and install ServiceWorkers for third-party websites that would not have been uninstalled with the extension. This vulnerability affects Firefox < 95.

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 95; before 95.0

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.mozilla.org/security/advisories/mfsa2021-52/> (vendor-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1636629> (issue-tracking, permissions-required, vendor-advisory)
- <https://security.gentoo.org/glsa/202202-03> (third-party-advisory, vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2021-43540 · Whole record: https://cve.day/CVE-2021-43540.json · Rebuilt by cve.day 2026-11-25T22:24:36.189Z
