Niedrig

plone.restapi vulnerable to Stored Cross Site Scripting with SVG image in user portrait

  • Veröffentlicht: 21.09.2023
  • Aktualisiert: 11.10.2026 12:18

Impact

There is a stored cross site scripting vulnerability for SVG images uploaded in user portraits.

Note that a page that uses an image tag with an SVG image as source is never vulnerable, even when the SVG image contains malicious code. To exploit the vulnerability, an attacker would first need to upload an SVG image as user portrait, and then trick a user into following a link to this portrait.

Patches

A patch will be released in plone.restapi 8.43.3. This version is good for Plone 6.0, and for Plone 5.2 on Python 3.

In plone.restapi 7 or earlier there was no @portrait endpoint yet, so there is nothing to fix in that version. It is still vulnerable to this attack, and needs a fix in Zope 4. These two vulnerabilities share the same CVE: CVE-2023-42458.

Workarounds

You could remove the portrait field from the member data schema, and possibly remove all portraits that are already in the database, but this seems a bit drastic.

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) plone-restapi >= 8.0.0, < 8.43.3 8.43.3

Verweise

CVSS-Wert 3.7/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Schwäche (CWE)
CWE-79, CWE-80
Plattform
Python (PyPI)
Paket
plone-restapi
Veröffentlicht
21.09.2023
Aktualisiert
11.10.2026 12:18

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-hc5c-r8m5-2gfh - CC BY 4.0

Schwachstellenhistorie: plone-restapi

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
3
Erste → letzte
01.2020 07.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 1
  • Mittel 1
  • Niedrig 1

Veröffentlichungen pro Jahr

  1. 2020: 1
  2. 2021: 0
  3. 2022: 0
  4. 2023: 1
  5. 2024: 0
  6. 2025: 0
  7. 2026: 1
  1. Mittel · 4.3 ghsa-8rqh-vxpr-x77p < 9.15.6, >= 10.0.0, < 10.0.1 9.15.6, 10.0.1
  2. plone.restapi vulnerable to Stored Cross Site Scripting with SVG image in user portrait dieser Eintrag
    Niedrig · 3.7 ghsa-hc5c-r8m5-2gfh >= 8.0.0, < 8.43.3 8.43.3
  3. Hoch · 8.8 CVE-2020-7938 < 6.2.1 6.2.1

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.