CVE-2026-54503 plone.app.textfield: Stored XSS by spoofing mime type
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
plone.app.textfield provides a zope.schema-style field type called RichText for storing a value with a related MIME type. Prior to 2.0.2, 3.0.2, and 4.0.1, depending on the release line, RichTextValue.output returns an unsanitized stored RichText value when mimeType equals outputMimeType, including values that claim the text/x-html-safe output type. This equality shortcut bypasses the safe_html transform even though the transform itself correctly removes event-handler attributes and unsafe URI schemes. Equal types can result from a RichText field configured with the same mimeType and outputMimeType or from REST API input that supplies text/x-html-safe as its content type. The raw stored value is then emitted through tal:content=structure without escaping, allowing a user who can set a RichText field to store JavaScript that executes in a viewer's browser. This issue is fixed in versions 2.0.2, 3.0.2, and 4.0.1.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi plone-app-textfield(PyPI) | < 2.0.2; = 1.0; = 1.0.1; = 1.0.2 +36 more | 2.0.2, 3.0.2, 4.0.1 | Fixed |
| pypi plone.app.textfield(PyPI) | < 2.0.2; = 4.0.0; >= 3.0.0, < 3.0.2 | 2.0.2, 3.0.2 | Fixed |
| plone.app.textfield | = < 2.0.2; = >= 3.0.0, < 3.0.2; = >= 4.0.0, < 4.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi plone-app-textfield(PyPI) | < 2.0.2 | 2.0.2 |
| pypi plone-app-textfield(PyPI) | = 1.0 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0.2 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b1 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b2 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b3 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b4 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b5 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b6 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.0b7 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.10 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.11 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.12 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.2 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.3 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.4 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.5 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.6 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.7 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.8 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.2.9 | No fix listed |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi plone-app-textfield(PyPI) | = 1.3.0 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.2 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.3 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.4 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.5 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.6 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 1.3.7 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 2.0.0 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 2.0.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | >= 3.0.0, < 3.0.2 | 3.0.2 |
| pypi plone-app-textfield(PyPI) | = 3.0.0 | No fix listed |
| pypi plone-app-textfield(PyPI) | = 3.0.1 | No fix listed |
| pypi plone-app-textfield(PyPI) | >= 4.0.0, < 4.0.1 | 4.0.1 |
| pypi plone-app-textfield(PyPI) | = 4.0.0 | No fix listed |
| plone.app.textfield | = < 2.0.2 | No fix listed |
| plone.app.textfield | = >= 3.0.0, < 3.0.2 | No fix listed |
| plone.app.textfield | = >= 4.0.0, < 4.0.1 | No fix listed |
| pypi plone.app.textfield(PyPI) | < 2.0.2 | 2.0.2 |
| pypi plone.app.textfield(PyPI) | >= 3.0.0, < 3.0.2 | 3.0.2 |
| pypi plone.app.textfield(PyPI) | = 4.0.0 | No fix listed |
References
- https://github.com/plone/plone.app.textfield/security/advisories/GHSA-4r4f-gg25-rmg5 vendor-advisory
- github.com product
- https://github.com/plone/plone.app.textfield/commit/0da1aeec2406cf640977eb857a03e792d2c7cac2
- https://github.com/plone/plone.app.textfield/commit/467638e500d804c637031387a227a2b02d12a86f
- https://github.com/plone/plone.app.textfield/commit/781d517a38524087fe57525a94806684908f852f
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- ENISA EUVD EUVD-2026-78836 third-party-advisory