Cloudanix VulnDB

CVE-2022-34475

Medium · 6.1

CVSS

6.1

EPSS

0.6%

Published

Dec 22, 2022

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in how certain web content is cleaned could let attackers run unauthorized code inside users' browsers after they view attacker-supplied information.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Moderate
Impact
Data Tampering
Component
Application
Class
XSS
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

SVG <use> tags referencing same-origin documents bypass HTML Sanitizer API restrictions, enabling execution of attacker-controlled scripts from a same-origin JavaScript file.

Why it matters to the business

Attackers can perform cross-site scripting attacks that lead to unauthorized data access, session hijacking, or malicious actions within affected web applications, increasing risk for organizations using the vulnerable Pimcore versions.

How an attack unfolds

An attacker prepares a malicious SVG payload containing a <use> reference to a same-origin JavaScript file with executable script, submits it through an input sanitized by the HTML Sanitizer API, and achieves script execution in the victim's context.

How to fix it

Upgrade Pimcore to the fixed commit 0508c491c6a4f3d119ec8dcf444e52ff25028c36 or later; review and harden any custom HTML sanitization logic.

How to confirm the fix worked

Confirm the deployed Pimcore commit hash is 0508c491c6a4f3d119ec8dcf444e52ff25028c36 or newer; test SVG <use> inputs against the sanitizer to verify script execution is blocked.

Typical attack path

  1. Identify an input vector processed by the HTML Sanitizer API in a Pimcore application
  2. Craft SVG with <use> tag pointing to attacker-controlled same-origin JS containing payload
  3. Submit sanitized input to trigger bypass
  4. Execute arbitrary script in victim browser context

How to detect it

Review web server and application logs for unexpected script execution or anomalous SVG content containing <use> references; inspect browser console errors and network requests for same-origin JS file loads triggered by sanitized inputs.

What your security team should do

  • Immediately upgrade all Pimcore instances to the patched commit
  • Audit application inputs that use the HTML Sanitizer API for SVG content
  • Implement additional output encoding and Content-Security-Policy headers as defense-in-depth
  • Monitor EPSS trend and reassess exploit maturity

The record

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 packages

Ecosystem Package Introduced Fixed
SUSE:Enterprise Storage 6 MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Enterprise Storage 6 MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Enterprise Storage 7 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Enterprise Storage 7 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise High Performance Computing 15-ESPOS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise High Performance Computing 15-LTSS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server 12 SP2-BCL MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server 12 SP3-BCL MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server 12 SP4-LTSS MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server 12 SP5 MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise Server 15 SP1-BCL MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise Server 15 SP1-LTSS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Server 15 SP2-BCL MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise Server 15 SP2-BCL MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise Server 15 SP2-LTSS MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise Server 15 SP2-LTSS MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise Server 15-LTSS MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP4 MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox 0 102.2.0-112.130.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP5 MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise Server for SAP Applications 15 MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox 0 102.2.0-150000.150.56.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP1 MozillaFirefox-branding-SLE 0 102-150000.4.22.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP2 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Linux Enterprise Software Development Kit 12 SP5 MozillaFirefox 0 102.2.0-112.130.1
SUSE:Manager Proxy 4.1 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Manager Proxy 4.1 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Manager Retail Branch Server 4.1 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Manager Retail Branch Server 4.1 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:Manager Server 4.1 MozillaFirefox 0 102.3.0-150200.152.61.1
SUSE:Manager Server 4.1 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
SUSE:OpenStack Cloud 9 MozillaFirefox 0 102.2.0-112.130.1
SUSE:OpenStack Cloud 9 MozillaFirefox-branding-SLE 0 102-35.9.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox 0 102.2.0-112.130.1
SUSE:OpenStack Cloud Crowbar 9 MozillaFirefox-branding-SLE 0 102-35.9.1
Ubuntu:18.04:LTS firefox 0 102.0+build2-0ubuntu0.18.04.1
Ubuntu:20.04:LTS firefox 0 102.0+build2-0ubuntu0.20.04.1
openSUSE:Leap 15.3 MozillaFirefox 0 102.3.0-150200.152.61.1
openSUSE:Leap 15.3 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
openSUSE:Leap 15.4 MozillaFirefox 0 102.3.0-150200.152.61.1
openSUSE:Leap 15.4 MozillaFirefox-branding-SLE 0 102-150200.9.10.1
openSUSE:Tumbleweed MozillaFirefox 0 102.0.1-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities