plone.namedfile vulnerable to Stored Cross Site Scripting with SVG images
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| plone | plone.namedfile | before 5.6.1; 6.0.0 to before 6.0.3; 6.1.0 to before 6.1.3; 6.2.0 to before 6.2.1 | 5.6.1, 6.0.3, 6.1.3, 6.2.1 | Patch available | CNA |
| — | plone.namedfile (PyPI) | before 5.6.1 | 5.6.1 | Patch available | GHSA-jj7c-jrv4-c65x |
| — | plone.namedfile (PyPI) | 6.0.0 to before 6.0.3 | 6.0.3 | Patch available | GHSA-jj7c-jrv4-c65x |
| — | plone.namedfile (PyPI) | 6.1.0 to before 6.1.3 | 6.1.3 | Patch available | GHSA-jj7c-jrv4-c65x |
| — | plone.namedfile (PyPI) | 6.2.0 to before 6.2.1 | 6.2.1 | Patch available | GHSA-jj7c-jrv4-c65x |
- plone.namedfile Vendorplone Affected before 5.6.1; 6.0.0 to before 6.0.3; 6.1.0 to before 6.1.3; 6.2.0 to before 6.2.1 Fixed in 5.6.1, 6.0.3, 6.1.3, 6.2.1 Patch available CNA
- plone.namedfile (PyPI) Vendor— Affected before 5.6.1 Fixed in 5.6.1 Patch available GHSA-jj7c-jrv4-c65x
- plone.namedfile (PyPI) Vendor— Affected 6.0.0 to before 6.0.3 Fixed in 6.0.3 Patch available GHSA-jj7c-jrv4-c65x
- plone.namedfile (PyPI) Vendor— Affected 6.1.0 to before 6.1.3 Fixed in 6.1.3 Patch available GHSA-jj7c-jrv4-c65x
- plone.namedfile (PyPI) Vendor— Affected 6.2.0 to before 6.2.1 Fixed in 6.2.1 Patch available GHSA-jj7c-jrv4-c65x
CPE configurations NVD · 9
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* | before 5.6.1 | Vulnerable | plone |
| cpe:2.3:a:plone:plone:5.2:-:*:*:*:*:*:* | 5.2 | Running on | plone |
| cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* | 6.0.0 to before 6.0.3 | Vulnerable | plone |
| cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:* | 6.0.0 – 6.0.4 | Running on | plone |
| cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* | 6.1.0 to before 6.1.3 | Vulnerable | plone |
| cpe:2.3:a:plone:plone:6.0.5:*:*:*:*:*:*:* | 6.0.5 | Running on | plone |
| cpe:2.3:a:plone:plone:6.0.6:*:*:*:*:*:*:* | 6.0.6 | Running on | plone |
| cpe:2.3:a:plone:namedfile:6.2.0:*:*:*:*:*:*:* | 6.2.0 | Vulnerable | plone |
| cpe:2.3:a:plone:plone:6.0.7:*:*:*:*:*:*:* | 6.0.7 | Running on | plone |
- cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* Versions before 5.6.1 Vulnerable ·plone
- cpe:2.3:a:plone:plone:5.2:-:*:*:*:*:*:* Versions 5.2 Running on ·plone
- cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* Versions 6.0.0 to before 6.0.3 Vulnerable ·plone
- cpe:2.3:a:plone:plone:*:*:*:*:*:*:*:* Versions 6.0.0 – 6.0.4 Running on ·plone
- cpe:2.3:a:plone:namedfile:*:*:*:*:*:*:*:* Versions 6.1.0 to before 6.1.3 Vulnerable ·plone
- cpe:2.3:a:plone:plone:6.0.5:*:*:*:*:*:*:* Versions 6.0.5 Running on ·plone
- cpe:2.3:a:plone:plone:6.0.6:*:*:*:*:*:*:* Versions 6.0.6 Running on ·plone
- cpe:2.3:a:plone:namedfile:6.2.0:*:*:*:*:*:*:* Versions 6.2.0 Vulnerable ·plone
- cpe:2.3:a:plone:plone:6.0.7:*:*:*:*:*:*:* Versions 6.0.7 Running on ·plone
Remediation
- Fix · CNA plone.namedfile (plone) Fixed in 5.6.1, 6.0.3, 6.1.3, 6.2.1
- Fix · GHSA-jj7c-jrv4-c65x plone.namedfile (PyPI) Fixed in 5.6.1 Advisory →
- Fix · GHSA-jj7c-jrv4-c65x plone.namedfile (PyPI) Fixed in 6.0.3 Advisory →
- Fix · GHSA-jj7c-jrv4-c65x plone.namedfile (PyPI) Fixed in 6.1.3 Advisory →
- Fix · GHSA-jj7c-jrv4-c65x plone.namedfile (PyPI) Fixed in 6.2.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-41048
- 2026-10-03 Alias added: GHSA-jj7c-jrv4-c65x
References
Patch 4
- https://github.com/plone/plone.namedfile/commit/188f66a4577021cf8f2bf7c0f5150f9b9573f167
- https://github.com/plone/plone.namedfile/commit/217d6ce847b7171bf1b73fcb6c08010eb449216a
- https://github.com/plone/plone.namedfile/commit/f0f911f2a72b2e5c923dc2ab9179319cc47788f9
- https://github.com/plone/plone.namedfile/commit/ff5269fb4c79f4eb91dd934561b8824a49a03b60
Advisory 3
Sources
- CVE-2023-41048 · CVE Program
- CVE-2023-41048 · NVD
- FIRST EPSS
- GHSA-jj7c-jrv4-c65x · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences