Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. django-photologue
  4. ›
  5. CVE-2022-4526

CVE-2022-4526: django-photologue vulnerable to Cross-site Scripting

December 15, 2022 (updated September 16, 2024)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2022-4526 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.16

Fixed versions

  • 3.16

Solution

Upgrade to version 3.16 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/django-photologue/CVE-2022-4526.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:30 +0000.