SB2019070417 - Cross-site scripting in patchwork (Alpine package)
Published: July 4, 2019
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Cross-site scripting (CVE-ID: CVE-2019-13122)
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via "A Cross Site Scripting (XSS) vulnerability exists in the template tag used to render message ids" when Patchwork. This affects the function msgid in templatetags/patch.py. Patchwork versions v2.1.4 and v2.0.4 will contain the fix. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website .
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Remediation
Install update from vendor's website.
References
- https://git.alpinelinux.org/aports/commit/?id=2980b18bfd45cb88d294fcdef0b77ca724f61749
- https://git.alpinelinux.org/aports/commit/?id=794bc417805526312b189e7fef0a657d0b6b9ea5
- https://git.alpinelinux.org/aports/commit/?id=8493bffc31e1f99dc665564b35771244a4b92504
- https://git.alpinelinux.org/aports/commit/?id=b40ea6190be45c9b281f309f8724510d65fed4a9
- https://git.alpinelinux.org/aports/commit/?id=b8143dc573079145ce484a52ae9beac9645d98d4