Skip to main content

Shopware 6.7 XSS flaw in media uploads enables admin token theft

Best suited for

Seniority
Analyst
Job function
Cybersecurity / Information Security
Persona
Security Operations Practitioner
Buyer role
Technical Implementer / Administrator
Decision stage
Post Buy
Adoption curve
Early Majority
Technology maturity
Established Technology
Industry
Information Technology / Software & Services / Internet Software & Services / E-Commerce Platforms

Our classification, not the publisher's statement. Best suited for, not only for.

Shopware 6.7 contains a stored cross-site scripting flaw in its media upload functionality. Successful exploitation can lead to compromise of administrator credentials and remote code execution.

The flaw is tracked as CVE-2026-104937. In affected versions, the media upload API accepts HTML files and later serves them as text/html, without effective Content-Security-Policy or X-Content-Type-Options security headers. A user with media upload capability can submit an HTML file containing embedded malicious JavaScript. When an administrator opens the corresponding media URL, the script can exfiltrate that administrator's authentication token, which can then be used to access the Shopware Administration API without authorization.

Exploitation could allow an attacker with media creation or upload access to run arbitrary JavaScript in the administrator browser context, steal valid administrator authentication tokens, and gain privileged access to the Administration API. Where the affected administrator account holds extension management privileges, the attacker could upload, install, and activate malicious plugins, achieving arbitrary PHP code execution on the underlying operating system with the privileges of the Shopware process.

The CERT/CC was unable to reach Shopware to coordinate this vulnerability. Until a patch is available, users can reduce risk by restricting access to the media upload functionality to trusted roles, or by disabling HTML file uploads entirely, which prevents attackers from creating malicious content that browsers interpret.

Deflask13 is credited with researching and reporting the vulnerability, and Molly Jaconski wrote the document. Publication records list the public date and first publication date as 2026-10-13, with the last update at 18:14 UTC on the same day under document revision 1. One or more vendors are listed, and readers are directed to the full report for vendor details.

Blog post, originally published by Molly Jaconski at kb.cert.org.

Structured data (JSON-LD)

The schema.org markup this page publishes for search engines and AI agents, exactly as they read it.

[
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#website",
    "@type": "WebSite",
    "name": "Decision Insights",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://decisioninsights.ai/search/?q={search_term_string}&submit=1"
      }
    },
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    },
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#organization",
    "@type": "Organization",
    "contactPoint": {
      "@type": "ContactPoint",
      "contactType": "customer support",
      "email": "[email protected]"
    },
    "description": "Decision Insights is a Registry of technology companies, open source projects, and industry terms, built for people and for AI agents that need sourced, structured information.",
    "logo": {
      "@type": "ImageObject",
      "url": "https://wiretap-cdn-assets.nyc3.cdn.digitaloceanspaces.com/decision-insights/[email protected]"
    },
    "name": "Decision Insights",
    "parentOrganization": {
      "@type": "Organization",
      "name": "Wiretap Labs",
      "sameAs": [
        "https://www.linkedin.com/company/wiretap-labs",
        "https://www.crunchbase.com/organization/wiretap-labs"
      ],
      "url": "https://wiretaplabs.com"
    },
    "publishingPrinciples": "https://decisioninsights.ai/standards/",
    "sameAs": [
      "https://www.linkedin.com/company/decisioninsights"
    ],
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai",
        "name": "Decision Insights",
        "position": 1
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/records/",
        "name": "Records",
        "position": 2
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/shopware-6.7-xss-flaw-in-media-uploads-enables-admin-token-theft/",
        "name": "Shopware 6.7 XSS flaw in media uploads enables admin token theft",
        "position": 3
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/shopware-6.7-xss-flaw-in-media-uploads-enables-admin-token-theft/#blogposting",
    "@type": "BlogPosting",
    "audience": [
      {
        "@type": "Audience",
        "additionalType": "Seniority",
        "audienceType": "Analyst"
      },
      {
        "@type": "Audience",
        "additionalType": "Job function",
        "audienceType": "Cybersecurity / Information Security"
      },
      {
        "@type": "Audience",
        "additionalType": "Persona",
        "audienceType": "Security Operations Practitioner"
      },
      {
        "@type": "Audience",
        "additionalType": "Buyer role",
        "audienceType": "Technical Implementer / Administrator"
      },
      {
        "@type": "Audience",
        "additionalType": "Adoption curve",
        "audienceType": "Early Majority"
      },
      {
        "@type": "Audience",
        "additionalType": "Technology maturity",
        "audienceType": "Established Technology"
      },
      {
        "@type": "Audience",
        "additionalType": "Industry",
        "audienceType": "Information Technology / Software & Services / Internet Software & Services / E-Commerce Platforms"
      }
    ],
    "author": {
      "@id": "https://decisioninsights.ai/author/decision-insights-threat-desk/#person",
      "@type": "Person",
      "name": "Decision Insights Threat Desk",
      "url": "https://decisioninsights.ai/author/decision-insights-threat-desk/"
    },
    "dateModified": "2026-10-13T13:43:50-06:00",
    "datePublished": "2026-10-13T13:43:46-06:00",
    "description": "Shopware 6.7 has a stored XSS flaw in its media upload feature, tracked as CVE-2026-104937, that can lead to admin token theft and remote code execution.",
    "headline": "Shopware 6.7 XSS flaw in media uploads enables admin token theft",
    "isBasedOn": {
      "@type": "CreativeWork",
      "author": {
        "@type": "Person",
        "name": "Molly Jaconski"
      },
      "sourceOrganization": {
        "@id": "https://decisioninsights.ai/registry/department-of-homeland-security/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/department-of-homeland-security/",
        "name": "Department of Homeland Security"
      },
      "url": "https://kb.cert.org/vuls/id/157374"
    },
    "keywords": [
      "Authentication",
      "Test Access Points",
      "Vulnerabilities"
    ],
    "mainEntityOfPage": {
      "@id": "https://decisioninsights.ai/shopware-6.7-xss-flaw-in-media-uploads-enables-admin-token-theft/",
      "@type": "WebPage",
      "sdDatePublished": "2026-10-13",
      "sdPublisher": {
        "@id": "https://decisioninsights.ai/#organization"
      }
    },
    "mentions": [
      {
        "@id": "https://decisioninsights.ai/projects/php/#project",
        "@type": "SoftwareSourceCode",
        "mainEntityOfPage": "https://decisioninsights.ai/projects/php/",
        "name": "PHP"
      }
    ],
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    }
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/author/decision-insights-threat-desk/#person",
    "@type": "Person",
    "description": "CISA advisories, vendor security bulletins, and CVE disclosures, summarized into sourced briefs. Produced under our Standards & Methodology.",
    "name": "Decision Insights Threat Desk",
    "sameAs": [
      "https://www.linkedin.com/showcase/decisioninsights/"
    ],
    "url": "https://decisioninsights.ai/author/decision-insights-threat-desk/"
  }
]

Is this your company? Get structured data for your own pages