GHSA-wm8q-9975-xh5v

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
Aliases
Published
2023-09-21T17:04:09Z
Modified
2023-11-08T04:13:28.905676Z
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.

References

Affected packages

PyPI / zope

Package

Name
zope

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0The exact introduced commit is unknown
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

Name
zope

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"
}