# CVE-2023-41048: plone.namedfile vulnerable to Stored Cross Site Scripting with SVG images

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Published: 2023-09-21T14:31:07.171Z
- Modified: 2026-06-17T06:20:17.443Z
- Also known as: GHSA-jj7c-jrv4-c65x, PYSEC-2023-311
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- plone plone.namedfile: < 5.6.1; >= 6.0.0, < 6.0.3; >= 6.1.0, < 6.1.3; >= 6.2.0, < 6.2.1
- plone-namedfile (PyPI): before 5.6.1; from 6.0.0 before 6.0.3; from 6.1.0 before 6.1.3; from 6.2.0 before 6.2.1; before 188f66a4577021cf8f2bf7c0f5150f9b9573f167; before 217d6ce847b7171bf1b73fcb6c08010eb449216a; before f0f911f2a72b2e5c923dc2ab9179319cc47788f9; before ff5269fb4c79f4eb91dd934561b8824a49a03b60
- plone namedfile: before 5.6.1; from 6.0.0 before 6.0.3; from 6.1.0 before 6.1.3; 6.2.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/plone/plone.namedfile/security/advisories/GHSA-jj7c-jrv4-c65x> (advisory, vendor-advisory, web)
- <https://github.com/plone/plone.namedfile/commit/188f66a4577021cf8f2bf7c0f5150f9b9573f167> (fix, patch, web)
- <https://github.com/plone/plone.namedfile/commit/217d6ce847b7171bf1b73fcb6c08010eb449216a> (fix, patch, web)
- <https://github.com/plone/plone.namedfile/commit/f0f911f2a72b2e5c923dc2ab9179319cc47788f9> (fix, patch, web)
- <https://github.com/plone/plone.namedfile/commit/ff5269fb4c79f4eb91dd934561b8824a49a03b60> (fix, patch, web)
- <https://github.com/plone/Products.PloneHotfix20210518> (product, web)
- <http://www.openwall.com/lists/oss-security/2023/09/22/2> (article, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-41048> (advisory)
- <https://github.com/plone/plone.namedfile> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/plone-namedfile/PYSEC-2023-311.yaml> (web)
- <https://github.com/advisories/GHSA-jj7c-jrv4-c65x> (advisory)

## Sources

- CVE List: [CVE-2023-41048](https://www.cve.org/CVERecord?id=CVE-2023-41048), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-jj7c-jrv4-c65x](https://github.com/advisories/GHSA-jj7c-jrv4-c65x), CC-BY-4.0, modified 2026-06-10
- NVD: [CVE-2023-41048](https://nvd.nist.gov/vuln/detail/CVE-2023-41048), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2023-311](https://osv.dev/vulnerability/PYSEC-2023-311), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2023-41048 · Whole record: https://cve.day/CVE-2023-41048.json · Rebuilt by cve.day 2026-11-25T22:58:28.055Z
