GHSA-287q-jfcp-9vhv

Suggest an improvement
Source
https://github.com/advisories/GHSA-287q-jfcp-9vhv
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-287q-jfcp-9vhv/GHSA-287q-jfcp-9vhv.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-287q-jfcp-9vhv
Aliases
Published
2022-12-15T21:30:26Z
Modified
2024-09-16T21:46:51.857762Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
django-photologue vulnerable to Cross-site Scripting
Details

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.

Database specific
{
    "nvd_published_at": "2022-12-15T21:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-15T23:29:11Z"
}
References

Affected packages

PyPI / django-photologue

Package

Name
django-photologue
View open source insights on deps.dev
Purl
pkg:pypi/django-photologue

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.16

Affected versions

2.*

2.3
2.4
2.5
2.6
2.6.1
2.7
2.8
2.8.1
2.8.2
2.8.3

3.*

3.0
3.0.1
3.0.2
3.1
3.1.1
3.2
3.3
3.3.1
3.3.2
3.4
3.4.1
3.5
3.5.1
3.6
3.7
3.8
3.8.1
3.9
3.10
3.11
3.12
3.13
3.14
3.15
3.15.1

Database specific

{
    "last_known_affected_version_range": "<= 3.15.1"
}