CVE-2022-4526 json
django-photologue Default Template photo_detail.html cross site scripting
published 3y ago modified 4mo 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
Is CVE-2022-4526 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.55% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
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 Intel 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.