Skip to content

DOM-based cross-site scripting (XSS) in teler dashboard

Low
dwisiswant0 published GHSA-xr7p-8q82-878q Dec 6, 2022

Package

gomod teler.app (Go)

Affected versions

>= v2.0.0-rc, <= v2.0.0-rc.3
v2.0.0-dev

Patched versions

v2.0.0-rc.4
v2.0.0-dev.2

Description

Description

teler prior to version <= 2.0.0-rc.4 is vulnerable to DOM-based cross-site scripting (XSS) in the teler dashboard. When teler requests messages from the event stream on the /events endpoint, the log data displayed on the dashboard are not sanitized.

Impact

This only affects authenticated users and can only be exploited based on detected threats if the log contains a DOM scripting payload. This indicates a low severity and there is no significant impact on the users.

Affected Version

This issue was introduced from version v2.0.0-rc to v2.0.0-rc.3 & v2.0.0-dev.

Patches

This vulnerability has been fixed on version v2.0.0-rc.4 & v2.0.0-dev.2.

Workarounds

Here are some workarounds to handle this case:

  • Deactivate the live event dashboard from the configuration file, or
  • Upgrade teler version to v2.0.0-rc.4 or v2.0.0-dev.2 & above.

References

Severity

Low
3.1
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
High
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L

CVE ID

CVE-2022-23466

Weaknesses