CVE-2026-133871

medium

Description

Pydici through 2026.11.1 contains a stored cross-site scripting vulnerability that allows authenticated users to inject script by storing HTML in contact names rendered unescaped in the contact detail mermaid diagram. Attackers with contact edit permission can store malicious markup that Contact.relationData() interpolates and contact_detail.html renders with the safe filter, executing script in victims' sessions.

References

https://www.vulncheck.com/advisories/pydici-through-2026.11.1-stored-xss-via-contact-name-in-relation-diagram

https://github.com/digitalfox/pydici/issues/234

https://github.com/digitalfox/pydici/commit/2d71a58df112cfe697c829af79ce7c5c402f876b

https://github.com/digitalfox/pydici/blob/v2026.11.1/templates/crm/contact_detail.html#L44-L47

https://github.com/digitalfox/pydici/blob/v2026.11.1/crm/models.py#L223-L229

https://github.com/digitalfox/pydici

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-131655

Details

Source: Mitre, NVD

Published: 2026-11-20

Updated: 2026-11-20

CVSS v3

Base Score: 5.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Severity: Medium

CVSS v4

Base Score: 5.1

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Severity: Medium