LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31057: Authenticated Stored XSS in Shopware Administration

Shopware is an open source e-commerce software made in Germany. Versions of Shopware 5 prior to version 5.7.12 are subject to an authenticated Stored XSS in Administration. Users are advised to upgrade. There are no known workarounds for this issue.

MediumCVSS 6.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Shopware 5 sites before 5.7.12 have an authenticated stored cross-site scripting issue in the Administration area. A logged-in user could store script content that later affects another user who views it. The vendor advises upgrading; no workaround is identified in the source bundle.

Executive priority

Prioritize patching for any production Shopware 5 storefront that is below 5.7.12. This is not marked as actively exploited, but admin compromise in e-commerce systems can affect customer trust, operations, and data integrity.

Technical view

CVE-2022-31057 is CWE-79 stored XSS affecting Shopware 5 versions below 5.7.12. The CVSS 3.1 score is 6.5 with network attack vector, low privileges required, user interaction required, and changed scope with low confidentiality, integrity, and availability impact.

Likely exposure

Exposure is limited to organizations running Shopware 5 earlier than 5.7.12, particularly where Administration access is available to multiple authenticated users. The source bundle does not identify Shopware 6 or other products as affected.

Exploitation context

The source bundle and KEV status do not support a claim of known active exploitation. The issue requires authenticated access and another user interaction, reducing broad internet-scale risk but still relevant for admin-panel trust boundaries.

Researcher notes

Evidence is clear on affected version range, weakness class, CVSS, and vendor upgrade guidance. Public sources in the bundle do not provide exploit details, exploitation telemetry, or a workaround. Avoid expanding affected scope beyond Shopware 5 before 5.7.12.

Mitigation direction

  • Upgrade Shopware 5 to version 5.7.12 or later.
  • Review the Shopware June 2022 security update and GitHub advisory.
  • Do not rely on a workaround; the advisory states none are known.
  • Restrict Administration access to trusted users until upgrading is complete.

Validation and detection

  • Inventory Shopware deployments and identify versions below 5.7.12.
  • Confirm the June 2022 security update or later release is installed.
  • Review Administration user access for unnecessary or shared accounts.
  • Check vendor advisory status before closing remediation records.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31057 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
6.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
6.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L2.33.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

6.5Medium
CVSS 3.1 vector shape for CVE-2022-31057Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
shopwareshopware< 5.7.12Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.