Vulnerability Details : CVE-2022-4526
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-4526
- cpe:2.3:a:django-photologue_project:django-photologue:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-4526
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 31 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-4526
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
3.5
|
LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2022-4526
-
The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.Assigned by: cna@vuldb.com (Secondary)
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by:
- cna@vuldb.com (Secondary)
- nvd@nist.gov (Primary)
-
The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component.Assigned by: cna@vuldb.com (Secondary)
References for CVE-2022-4526
-
https://github.com/richardbarran/django-photologue/issues/223
Issue Tracking;Third Party Advisory
-
https://vuldb.com/?id.215906
CVE-2022-4526 | django-photologue Default Template photo_detail.html cross site scripting (ID 223)Third Party Advisory
-
https://github.com/richardbarran/django-photologue/commit/960cb060ce5e2964e6d716ff787c72fc18a371e7
Prevent XSS injection with default template. · richardbarran/django-photologue@960cb06 · GitHubPatch;Third Party Advisory
Jump to