# CVE-2022-46873: Because Firefox did not implement the <codeunsafe-hashes</code CSP directive, an attacker who was able to inject markup into a page otherwi…

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/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.76%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-12-22T00:00:00.000Z
- Modified: 2026-06-17T05:12:35.060Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mozilla

## Description

Because Firefox did not implement the <code>unsafe-hashes</code> CSP directive, an attacker who was able to inject markup into a page otherwise protected by a Content Security Policy may have been able to inject executable script. This would be severely constrained by the specified Content Security Policy of the document. This vulnerability affects Firefox < 108.

(As written by CVE List.)

## Affected

- Mozilla Firefox: from unspecified before 108; before 108.0

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://www.mozilla.org/security/advisories/mfsa2022-51/> (vendor-advisory)
- <https://bugzilla.mozilla.org/show_bug.cgi?id=1644790> (issue-tracking)
- <https://security.gentoo.org/glsa/202305-06> (vendor-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2022-46873 · Whole record: https://cve.day/CVE-2022-46873.json · Rebuilt by cve.day 2026-11-25T22:58:17.812Z
