# CVE-2022-4526: django-photologue Default Template photo\_detail.html cross site scripting

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-15 · Modified: 2025-04-15
- Aliases: GHSA-287q-jfcp-9vhv, PYSEC-2022-43061
- Record: https://cvemate.com/vulnerability/CVE-2022-4526 · JSON: https://cvemate.com/vulnerability/CVE-2022-4526/json

## Description

```text
A vulnerability was found in django-photologue up to 3.15.1 and classified as problematic. Affected by this issue is some unknown functionality of the file photologue/templates/photologue/photo_detail.html of the component Default Template Handler. The manipulation of the argument object.caption leads to cross site scripting. The attack may be launched remotely. Upgrading to version 3.16 is able to address this issue. The name of the patch is 960cb060ce5e2964e6d716ff787c72fc18a371e7. It is recommended to apply a patch to fix this issue. VDB-215906 is the identifier assigned to this vulnerability.
```

## Signals

- CVSS: 6.1 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.573%, percentile 48.793%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- django-photologue\_project django-photologue: ≤ 3.15.1
- PyPI django-photologue (PyPI): \< 960cb060ce5e2964e6d716ff787c72fc18a371e7 \| \< 3.16
- unspecified django-photologue: 3.15.0 \| 3.15.1

## References

- <https://github.com/richardbarran/django-photologue/issues/223>
- <https://github.com/richardbarran/django-photologue/commit/960cb060ce5e2964e6d716ff787c72fc18a371e7>
- <https://vuldb.com/?id.215906>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-4526>
- <https://github.com/pypa/advisory-database/tree/main/vulns/django-photologue/PYSEC-2022-43061.yaml>
- <https://github.com/richardbarran/django-photologue>
- <https://github.com/advisories/GHSA-287q-jfcp-9vhv>

---

Data as of 2026-12-05T10:10:19.906Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
