# CVE-2026-133871: Pydici through 2026.11.1 Stored XSS via Contact Name in Relation Diagram

- Severity: Medium 5.1 (CVSS:4.0, scored by VulnCheck) `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`
- 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.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-11-20T16:16:59.069Z
- Modified: 2026-11-20T19:18:50.267Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- digitalfox pydici: up to 2026.11.1

## Every score

- VulnCheck: CVSS:4.0 5.1 Medium `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`
- VulnCheck: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/digitalfox/pydici/issues/234> (issue-tracking)
- <https://github.com/digitalfox/pydici> (product)
- <https://github.com/digitalfox/pydici/commit/2d71a58df112cfe697c829af79ce7c5c402f876b> (patch)
- <https://github.com/digitalfox/pydici/blob/v2026.11.1/crm/models.py#L223-L229> (technical-description)
- <https://github.com/digitalfox/pydici/blob/v2026.11.1/templates/crm/contact_detail.html#L44-L47> (technical-description)
- <https://www.vulncheck.com/advisories/pydici-through-2026.11.1-stored-xss-via-contact-name-in-relation-diagram> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-133871](https://www.cve.org/CVERecord?id=CVE-2026-133871), CVE Terms of Use, modified 2026-11-20
- NVD: [CVE-2026-133871](https://nvd.nist.gov/vuln/detail/CVE-2026-133871), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-133871 · Whole record: https://cve.day/CVE-2026-133871.json · Rebuilt by cve.day 2026-11-25T22:59:52.433Z
