CVE-2022-4638 collective.contact.widget widgets.py title cross site scripting
Remote attackers can execute arbitrary scripts via the title field in collective.contact.widget, requiring a patch to mitigate.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-4638?
CVE-2022-4638 is a low-severity cross-site scripting vulnerability in unspecified collective.contact.widget, published on 21 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability classified as problematic was found in collective.contact.widget up to 1.12. This vulnerability affects the function title of the file src/collective/contact/widget/widgets.py. The manipulation leads to cross site scripting. The attack can be initiated remotely. The name of the patch is 5da36305ca7ed433782be8901c47387406fcda12. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-216496.
Which versions are affected by CVE-2022-4638?
3 open source packages ship an affected version, including collective.contact.widget and collective-contact-widget. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
collective.contact.widget PyPI | All versions | 1.13 |
collective-contact-widget PyPI | All versions | 1.12 |
collective-contact-widget PyPI | All versions | 1.13 |
Products include Collective.contact.widget Project Collective.contact.widget.
How do I fix CVE-2022-4638?
Upgrade collective.contact.widget to 1.13 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-4638 being exploited?
There is no known exploitation of CVE-2022-4638 in the wild and no public exploit code.
Sources
Also known as GHSA-5pqf-rvm7-3wgw, PYSEC-2022-42988.