CVE-2022-4526 json
django-photologue Default Template photo_detail.html cross site scripting
published 2022-12-15 3 y ago modified 2026-06-17 4 mo ago also GHSA-287q-jfcp-9vhv , PYSEC-2022-43061 , EUVD-2022-0083
- cvss
- 3.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django-photologue | <3.16 |
3.16 |
Affected products
- unspecified django-photologue
Classification
References
-
github.com
/richardbarran/django-photologue/commit/960cb060ce5e2964e6d716ff787c72fc18a371e7
web, patch, third-party-advisory
-
github.com
/richardbarran/django-photologue/issues/223
web, issue-tracking, third-party-advisory, report
-
vuldb.com
/?id.215906
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-4526
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/django-photologue/PYSEC-2022-43061.yaml
web
-
github.com
/richardbarran/django-photologue
package
-
github.com
/advisories/GHSA-287q-jfcp-9vhv
advisory
Sources
- CVE List CVE-2022-4526
- GitHub Advisory GHSA-287q-jfcp-9vhv
- NVD CVE-2022-4526
- OSV PYSEC-2022-43061
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.