CVE-2022-4526
MEDIUM 6.1CVSS 3.1django-photologue vulnerable to Cross-site Scripting
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.
- Published
- 15 Dec 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Modified
- Weakness
- CWE-707CWE-79
- Also known as
- GHSA-287q-jfcp-9vhvPYSEC-2022-43061
- Sources
- NVDJSONOSV GHSA-287q-jfcp-9vhvJSONOSV PYSEC-2022-43061JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | LOW 3.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django-photologue_project | django-photologuecpe:2.3:a:django-photologue_project:django-photologue:*:*:*:*:*:*:*:* |
<= 3.15.1 | |
| OSV | PyPI | django-photologue | < 3.16 | 3.16 |
References
- https://github.com/richardbarran/django-photologue/commit/960cb060ce5e2964e6d716ff787c72fc18a371e7 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/richardbarran/django-photologue/issues/223 · Issue Tracking, Third Party Advisory, WEB, REPORT
- https://vuldb.com/?id.215906 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-4526 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/django-photologue/PYSEC-2022-43061.yaml · WEB
- https://github.com/richardbarran/django-photologue · PACKAGE
- https://github.com/advisories/GHSA-287q-jfcp-9vhv · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 15 Dec 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Dec 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Dec 2022)