GHSA-wm8q-9975-xh5v

Suggest an improvement
Source
https://github.com/advisories/GHSA-wm8q-9975-xh5v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-wm8q-9975-xh5v/GHSA-wm8q-9975-xh5v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wm8q-9975-xh5v
Aliases
Related
Published
2023-09-21T17:04:09Z
Modified
2024-02-16T08:20:34.548460Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Zope vulnerable to Stored Cross Site Scripting with SVG images
Details

Impact

There is a stored cross site scripting vulnerability for SVG images.

Note that 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 image, and then trick a user into following a specially crafted link.

All versions of Zope are impacted on sites that allow untrusted users to upload images.

Patches

Patches will be released in Zope 4.8.10 and 5.8.5.

Workarounds

Make sure the "Add Documents, Images, and Files" permission is only assigned to trusted roles. By default only the Manager has this permission.

Database specific
{
    "nvd_published_at": "2023-09-21T17:15:22Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2023-09-21T17:04:09Z"
}
References

Affected packages

PyPI / zope

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.8.10

Affected versions

4.*

4.0b1
4.0b2
4.0b3
4.0b4
4.0b5
4.0b6
4.0b7
4.0b8
4.0b9
4.0b10
4.0
4.1
4.1.1
4.1.2
4.1.3
4.2
4.2.1
4.3
4.4
4.4.1
4.4.2
4.4.3
4.4.4
4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.6
4.6.1
4.6.2
4.6.3
4.7
4.8
4.8.1
4.8.2
4.8.3
4.8.4
4.8.5
4.8.6
4.8.7
4.8.8
4.8.9

Database specific

{
    "last_known_affected_version_range": "<= 4.8.9"
}

PyPI / zope

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.8.0
Fixed
5.8.5

Affected versions

5.*

5.8
5.8.1
5.8.2
5.8.3
5.8.4

Database specific

{
    "last_known_affected_version_range": "<= 5.8.4"
}