Security mailing lists by PureSourceCode

CVE-2023-41048

MEDIUM 5.4CVSS 3.1

plone.namedfile vulnerable to Stored Cross Site Scripting with SVG images

plone.namedfile allows users to handle File and Image fields targeting, but not depending on, Plone Dexterity content. Prior to versions 5.6.1, 6.0.3, 6.1.3, and 6.2.1, there is a stored cross site scripting vulnerability for SVG images. A security hotfix from 2021 already partially fixed this by making sure SVG images are always downloaded instead of shown inline. But the same problem still exists for scales of SVG images. Note that an image tag with an SVG image as source is not 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. Patches are available in versions 5.6.1 (for Plone 5.2), 6.0.3 (for Plone 6.0.0-6.0.4), 6.1.3 (for Plone 6.0.5-6.0.6), and 6.2.1 (for Plone 6.0.7). There are no known workarounds.

Published
21 Sep 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79CWE-80
Also known as
GHSA-jj7c-jrv4-c65xPYSEC-2023-311
Sources
NVDJSONOSV GHSA-jj7c-jrv4-c65xJSONOSV PYSEC-2023-311JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 LOW 3.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD plone namedfile
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
< 5.6.1 5.6.1
NVD plone namedfile
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
>= 6.0.0, < 6.0.3 6.0.3
NVD plone namedfile
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
>= 6.1.0, < 6.1.3 6.1.3
NVD plone namedfile
cpe:2.3:a:plone:namedfile:6.2.0:*:*:*:*:*:*:*
= 6.2.0
OSV PyPI plone-namedfile < 5.6.1 5.6.1
OSV PyPI plone-namedfile >= 6.0.0, < 6.0.3 6.0.3
OSV PyPI plone-namedfile >= 6.1.0, < 6.1.3 6.1.3
OSV PyPI plone-namedfile >= 6.2.0, < 6.2.1 6.2.1
OSV PyPI plone-namedfile < 5.6.1; >= 6.0.0, < 6.0.3; >= 6.1.0, < 6.1.3 5.6.1, 6.0.3, 6.1.3

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 Sep 2023)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Sep 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 21 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.