CVE-2026-54503: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in plone plone.app.textfield
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.
AI Analysis
Technical Summary
The vulnerability in plone.app.textfield involves improper neutralization of script-related HTML tags (CWE-80) in the RichText field type. When the stored RichText mimeType matches the outputMimeType, the safe_html transform is bypassed, causing the raw stored value to be emitted without escaping. This enables stored cross-site scripting (XSS) attacks by allowing JavaScript injection through the RichText field. The flaw affects versions prior to 2.0.2, 3.0.2, and 4.0.1 depending on the release line. The issue is resolved by applying the fixes in these versions.
Potential Impact
An attacker with permission to set a RichText field can inject JavaScript that executes in the browsers of users viewing the affected content. This can lead to limited confidentiality impact (CVSS impact score reflects low confidentiality impact), but no integrity or availability impact is indicated. The vulnerability requires low attack complexity and privileges but no user interaction.
Mitigation Recommendations
This vulnerability is fixed in plone.app.textfield versions 2.0.2, 3.0.2, and 4.0.1. Users should upgrade to these or later versions to remediate the issue. No additional mitigation is indicated by the vendor advisory.
CVE-2026-54503: CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in plone plone.app.textfield
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.
CVSS v3.1
Score 4.3medium
Affected software
plone
plone.app.textfield
pkg:github/plone/plone.app.textfieldRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in plone.app.textfield involves improper neutralization of script-related HTML tags (CWE-80) in the RichText field type. When the stored RichText mimeType matches the outputMimeType, the safe_html transform is bypassed, causing the raw stored value to be emitted without escaping. This enables stored cross-site scripting (XSS) attacks by allowing JavaScript injection through the RichText field. The flaw affects versions prior to 2.0.2, 3.0.2, and 4.0.1 depending on the release line. The issue is resolved by applying the fixes in these versions.
Potential Impact
An attacker with permission to set a RichText field can inject JavaScript that executes in the browsers of users viewing the affected content. This can lead to limited confidentiality impact (CVSS impact score reflects low confidentiality impact), but no integrity or availability impact is indicated. The vulnerability requires low attack complexity and privileges but no user interaction.
Mitigation Recommendations
This vulnerability is fixed in plone.app.textfield versions 2.0.2, 3.0.2, and 4.0.1. Users should upgrade to these or later versions to remediate the issue. No additional mitigation is indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T18:01:15.512Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aa9769455bf5e2cf5196302
Added to database: 09/15/2026, 16:47:16 UTC
Last enriched: 09/15/2026, 17:02:08 UTC
Last updated: 09/16/2026, 02:13:14 UTC
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.