Skip to content

← Public intelligence

PyPI package

plone-restapi

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.3PyPIAmendedPublished

    plone.restapi: Stored XSS by spoofing mime type

    GHSA-8rqh-vxpr-x77p

    Affected
    • PyPI plone-restapi < 9.15.6; >= 10.0.0, <= 10.0.0
    Fixed in
    10.0.19.15.6· Vendor fix available
    Issue
    Impact A stored XSS affecting RichText fields. RichTextValue.output returns the raw, unsanitized stored value whenever the stored mimeType equals the outputMimeType. Because the safe-HTML output type (text/x-html-safe) is the type that signifies "already sanitized", any value whose stored mimeType equals it bypasses the safehtml transform entirely on render. The transform itself is sound — it correctly strips on event-handler attributes and javascript:/data: URIs; the defect is that it is never invoked for these values. The unsanitized value is then emitted via tal:content="structure ...", which performs no escaping, so the payload executes in the viewer's browser. This can be a problem when a RichText field is wrongly defined in code with a mimeType and outputMimeType that are the same, or when the REST API is used to the same effect. This is the same vulnerability as reported in plone.app.textfield:…

    Recommended action: Upgrade to 10.0.1 or 9.15.6 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  2. Low, CVSS 3.7PyPIAmendedPublished

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

    GHSA-hc5c-r8m5-2gfh

    Affected
    • PyPI plone-restapi >= 8.0.0, < 8.43.3
    Fixed in
    8.43.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 8.43.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  3. High, CVSS 8.7PyPIAmendedPublished

    Plone Privilege Escallation

    CVE-2020-7938 · GHSA-cjg3-q24h-9qwf

    Affected
    • PyPI plone-restapi < 6.2.1
    Fixed in
    6.2.1· Vendor fix available
    Issue
    plone.restapi in Plone 5.2.0 through 5.2.1 allows users with a certain privilege level to escalate their privileges up to the highest level.

    Recommended action: Upgrade to 6.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →