{"schemaVersion":3,"id":"CVE-2022-40956","aliases":["UBUNTU-CVE-2022-40956","DEBIAN-CVE-2022-40956"],"status":"published","duplicateOf":null,"title":null,"description":"When injecting an HTML base element, some requests would ignore the CSP's base-uri settings and accept the injected element's base instead. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.","dates":{"published":"2022-12-22T00:00:00.000Z","modified":"2025-04-15T16:11:04.593Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.1,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":7.2,"impact":4.5,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00908,"percentile":0.59314,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.03099999999999995,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00877},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00908,"percentile":0.59314}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00877,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00884,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00908,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00908,"percentile":0.59314}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"debian","product":"firefox-esr","name":"firefox-esr","label":"firefox-esr","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/firefox-esr","purlType":"deb","versions":[{"text":"< 102.3.0esr-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 102.3.0esr-1","eol":null,"hubHref":null},{"vendor":"debian","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/thunderbird","purlType":"deb","versions":[{"text":"< 1:102.3.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:102.3.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firefox","name":"firefox","label":"firefox","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firefox","purlType":"deb","versions":[{"text":"< 105.0+build2-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 105.0+build2-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 105.0+build2-0ubuntu0.18.04.1 | < 105.0+build2-0ubuntu0.20.04.1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"thunderbird","name":"thunderbird","label":"thunderbird","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/thunderbird","purlType":"deb","versions":[{"text":"< 1:102.4.2+build2-0ubuntu0.18.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:102.4.2+build2-0ubuntu0.20.04.1","noFixRecorded":false,"fixedIn":null},{"text":"< 1:102.4.2+build2-0ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:102.4.2+build2-0ubuntu0.18.04.1 | < 1:102.4.2+build2-0ubuntu0.20.04.1 | < 1:102.4.2+build2-0ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"mozilla","product":"firefox","name":"Firefox","label":"firefox","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 105","noFixRecorded":false,"fixedIn":null},{"text":"< 105.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 105 | < 105.0","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"firefox","label":"Firefox","category":"app"}},"hubHref":"/vendor/mozilla/firefox"},{"vendor":"mozilla","product":"firefox_esr","name":"firefox esr","label":"firefox_esr","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 102.3","noFixRecorded":false,"fixedIn":null},{"text":"< 102.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 102.3 | < 102.3","eol":null,"hubHref":"/vendor/mozilla/firefox_esr"},{"vendor":"mozilla","product":"thunderbird","name":"Thunderbird","label":"thunderbird","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 102.3","noFixRecorded":false,"fixedIn":null},{"text":"< 102.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 102.3 | < 102.3","eol":null,"hubHref":"/vendor/mozilla/thunderbird"}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.mozilla.org/security/advisories/mfsa2022-40/","label":"www.mozilla.org/security/advisories/mfsa2022-40/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-41/","label":"www.mozilla.org/security/advisories/mfsa2022-41/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://www.mozilla.org/security/advisories/mfsa2022-42/","label":"www.mozilla.org/security/advisories/mfsa2022-42/","hostname":"www.mozilla.org","tags":["Vendor Advisory"]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1770094","label":"bugzilla.mozilla.org/show_bug.cgi?id=1770094","hostname":"bugzilla.mozilla.org","tags":["Issue Tracking","Permissions Required","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-40956","label":"ubuntu.com/security/CVE-2022-40956","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-40/#CVE-2022-40956","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-40/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-41/#CVE-2022-40956","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-41/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://www.mozilla.org/en-US/security/advisories/mfsa2022-42/#CVE-2022-40956","label":"www.mozilla.org/en-US/security/advisories/mfsa2022-42/","hostname":"www.mozilla.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5649-1","label":"ubuntu.com/security/notices/USN-5649-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-5724-1","label":"ubuntu.com/security/notices/USN-5724-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-40956","label":"www.cve.org/CVERecord?id=CVE-2022-40956","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-40956","label":"security-tracker.debian.org/tracker/CVE-2022-40956","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-3121-1","DLA-3123-1","DSA-5237-1","DSA-5238-1","MGASA-2022-0344","MGASA-2022-0347","OPENSUSE-SU-2024:12358-1","OPENSUSE-SU-2024:12398-1","OPENSUSE-SU-2024:14572-1","RHSA-2022:6700","RHSA-2022:6701","RHSA-2022:6702","RHSA-2022:6703","RHSA-2022:6707","RHSA-2022:6708","RHSA-2022:6710","RHSA-2022:6711","RHSA-2022:6713","RHSA-2022:6715","RHSA-2022:6716","RHSA-2022:6717","SUSE-SU-2022:3396-1","SUSE-SU-2022:3440-1","SUSE-SU-2022:3441-1","SUSE-SU-2022:3800-1","USN-5649-1","USN-5724-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12358-1","OPENSUSE-SU-2024:12398-1","OPENSUSE-SU-2024:14572-1","SUSE-SU-2022:3396-1","SUSE-SU-2022:3440-1","SUSE-SU-2022:3441-1","SUSE-SU-2022:3800-1","USN-5649-1","USN-5724-1"]},"timeline":[{"kind":"published","date":"2022-12-22T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-15T16:11:04.593Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":25,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T15:30:56.848Z","stale":false,"partial":false}}