CVE-2023-41048

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:5.2:-:*:*:*:*:*:*

Configuration 2 (hide)

AND
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:*

Configuration 3 (hide)

AND
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
OR cpe:2.3:a:plone:plone:6.0.5:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:6.0.6:*:*:*:*:*:*:*

Configuration 4 (hide)

AND
cpe:2.3:a:plone:namedfile:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:6.0.7:*:*:*:*:*:*:*

History

26 Sep 2023, 18:44

Type Values Removed Values Added
CPE cpe:2.3:a:plone:namedfile:6.2.0:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:*
cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:6.0.5:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:5.2:-:*:*:*:*:*:*
cpe:2.3:a:plone:plone:6.0.7:*:*:*:*:*:*:*
cpe:2.3:a:plone:plone:6.0.6:*:*:*:*:*:*:*
References (MISC) https://github.com/plone/plone.namedfile/commit/217d6ce847b7171bf1b73fcb6c08010eb449216a - (MISC) https://github.com/plone/plone.namedfile/commit/217d6ce847b7171bf1b73fcb6c08010eb449216a - Patch
References (MISC) http://www.openwall.com/lists/oss-security/2023/09/22/2 - (MISC) http://www.openwall.com/lists/oss-security/2023/09/22/2 - Mailing List, Third Party Advisory
References (MISC) https://github.com/plone/plone.namedfile/commit/188f66a4577021cf8f2bf7c0f5150f9b9573f167 - (MISC) https://github.com/plone/plone.namedfile/commit/188f66a4577021cf8f2bf7c0f5150f9b9573f167 - Patch
References (MISC) https://github.com/plone/Products.PloneHotfix20210518 - (MISC) https://github.com/plone/Products.PloneHotfix20210518 - Product
References (MISC) https://github.com/plone/plone.namedfile/commit/f0f911f2a72b2e5c923dc2ab9179319cc47788f9 - (MISC) https://github.com/plone/plone.namedfile/commit/f0f911f2a72b2e5c923dc2ab9179319cc47788f9 - Patch
References (MISC) https://github.com/plone/plone.namedfile/commit/ff5269fb4c79f4eb91dd934561b8824a49a03b60 - (MISC) https://github.com/plone/plone.namedfile/commit/ff5269fb4c79f4eb91dd934561b8824a49a03b60 - Patch
References (MISC) https://github.com/plone/plone.namedfile/security/advisories/GHSA-jj7c-jrv4-c65x - (MISC) https://github.com/plone/plone.namedfile/security/advisories/GHSA-jj7c-jrv4-c65x - Vendor Advisory
CWE CWE-80
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.4
First Time Plone plone
Plone
Plone namedfile

22 Sep 2023, 15:15

Type Values Removed Values Added
References
  • (MISC) http://www.openwall.com/lists/oss-security/2023/09/22/2 -

21 Sep 2023, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-21 15:15

Updated : 2023-12-10 15:14


NVD link : CVE-2023-41048

Mitre link : CVE-2023-41048

CVE.ORG link : CVE-2023-41048


JSON object : View

Products Affected

plone

  • namedfile
  • plone
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

CWE-80

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)