CVE-2022-34475
JSON

6.1medium

SVG <code&lt;use&gt;</code tags that referenced a same-origin document could have resulted in script execution if attacker input was saniti…

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.63% (higher than 51% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mozilla

Description

SVG <code>&lt;use&gt;</code> tags that referenced a same-origin document could have resulted in script execution if attacker input was sanitized via the HTML Sanitizer API. This would have required the attacker to reference a same-origin JavaScript file containing the script to be executed. This vulnerability affects Firefox < 102.

Affected

Product or packageVersionsReported by
Mozilla Firefoxfrom unspecified before 102, before 102.0CVE List, NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

SVG <code>&lt;use&gt;</code> tags that referenced a same-origin document could have resulted in script execution if attacker input was sanitized via the HTML Sanitizer API. This would have required the attacker to reference a same-origin JavaScript file containing the script to be executed. This vulnerability affects Firefox < 102.

NVD (es)

Las etiquetas SVG <code></code> que hacían referencia a un documento del mismo origen podrían haber dado lugar a la ejecución de un script si la entrada del atacante se hubiera sanitizado a través de la API HTML Sanitizer. Esto habría requerido que el atacante hiciera referencia a un archivo JavaScript del mismo origen que contenía el script a ejecutar. Esta vulnerabilidad afecta a Firefox &lt; 102.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-34475 changed 2025-04-15CVE Terms of Use
NVDCVE-2022-34475 changed 2026-06-17Public domain