plone.app.contenttypes has a Denial of Service in File Upload due to excessive filename lengthGHSA-8pcw-h6w9-h46g
MEDIUMFix: plone/plone.app.contenttypes#744GHSA-8pcw-h6w9-h46g is a medium-severity (CVSS 6.5) vulnerability in plone-app-contenttypes. A fix is available for plone-app-contenttypes — see the affected versions and patch details below.
Real-World Exposure
plone-app-contenttypes🐍plone-app-contenttypes🐍plone-app-contenttypesReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Impact
When creating an Image or File with a very large filename, Plone can become unresponsive. Even if the content loads, it can be hard to edit or delete, because the UI is unwieldy.
Patches
The problem has been patched in plone.app.contenttypes.
- On Plone 6.2, upgrade to
plone.app.contenttypes5.0.1. - On Plone 6.1, upgrade to
plone.app.contenttypes4.0.10. - On Plone 6.0, upgrade to
plone.app.contenttypes3.0.12
Another part of this problem has been patched in plone.app.dexterity. See this advisory.
Workarounds
There are no known workarounds.
This problem was responsibly reported by Aldin Visnjic to the Plone/Zope Security Team. Thank you!
Note: The Plone/Zope Security team felt that the kind of fixes that were needed could be disruptive in corner cases if they were not careful. So they decided to develop the fixes publicly, giving the whole community the chance the review, and giving them the benefit from early feedback.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | plone-app-contenttypes | ≥ 5.0.0&&< 5.0.1 | 5.0.1pip install --upgrade 'plone-app-contenttypes==5.0.1' |
| 🐍PyPI | plone-app-contenttypes | ≥ 4.0.0&&< 4.0.10 | 4.0.10pip install --upgrade 'plone-app-contenttypes==4.0.10' |
| 🐍PyPI | plone-app-contenttypes | all versions | 3.0.12pip install --upgrade 'plone-app-contenttypes==3.0.12' |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for plone-app-contenttypes, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update plone-app-contenttypes to 5.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-8pcw-h6w9-h46g is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-8pcw-h6w9-h46g in your dependencies?
Find it across PyPI, including transitive dependencies.