# CVE-2022-4638: collective.contact.widget widgets.py title cross site scripting

- Severity: Low 3.5 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/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.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2022-12-21T00:00:00.000Z
- Modified: 2026-06-17T05:21:25.500Z
- Also known as: GHSA-5pqf-rvm7-3wgw, PYSEC-2022-42988
- Weaknesses: CWE-79, CWE-707
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- unspecified collective.contact.widget: 1.0; 1.1; 1.2; 1.3; 1.4; 1.5; 1.6; 1.7; 1.8; 1.9; 1.10; 1.11; and 1 more
- collective-contact-widget (PyPI): before 1.13; before 5da36305ca7ed433782be8901c47387406fcda12; before 1.12
- collective.contact.widget_project collective.contact.widget: before 1.12

## Every score

- VulDB: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/collective/collective.contact.widget/commit/5da36305ca7ed433782be8901c47387406fcda12> (fix, patch, third-party-advisory, web)
- <https://vuldb.com/?id.216496> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4638> (advisory)
- <https://github.com/collective/collective.contact.widget> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/collective-contact-widget/PYSEC-2022-42988.yaml> (web)
- <https://github.com/advisories/GHSA-5pqf-rvm7-3wgw> (advisory)

## Sources

- CVE List: [CVE-2022-4638](https://www.cve.org/CVERecord?id=CVE-2022-4638), CVE Terms of Use, modified 2025-04-14
- GitHub Advisory Database: [GHSA-5pqf-rvm7-3wgw](https://github.com/advisories/GHSA-5pqf-rvm7-3wgw), CC-BY-4.0, modified 2024-09-13
- NVD: [CVE-2022-4638](https://nvd.nist.gov/vuln/detail/CVE-2022-4638), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-42988](https://osv.dev/vulnerability/PYSEC-2022-42988), CC-BY-4.0, modified 2026-06-10

---

Page: https://cve.day/CVE-2022-4638 · Whole record: https://cve.day/CVE-2022-4638.json · Rebuilt by cve.day 2026-11-25T22:58:17.743Z
