Advisory

GHSA-xr7p-8q82-878q

Also known as: CVE-2022-23466

Summary

teler dashboard vulnerable to DOM-based cross-site scripting (XSS)

Details

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

  • https://github.com/kitabisa/teler/commit/20f59eda2420ac64e29f199a61230a0abc875e8e

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-12-06 15:36 UTC
Modified
2025-07-08 19:39 UTC

Affected packages and fixes

teler.app

Go · All systems

Affected

  • introduced 2.0.0-rc, fixed 2.0.0-rc.4 (semver)

Fixed versions

2.0.0-rc.4

Fix

teler.app

Go · All systems

Affected

  • introduced 2.0.0-dev, fixed 2.0.0-dev.2 (semver)

Fixed versions

2.0.0-dev.2

Fix

teler.app

Go · All systems

Affected

  • introduced 0.0.0-20220625162531-2289e90590a9, fixed 0.0.0-20221203202318-20f59eda2420 (semver)

Fixed versions

0.0.0-20221203202318-20f59eda2420

Fix

teler.app

Go · All systems

Affected

  • introduced 1.2.3-0.20220625162531-2289e90590a9, fixed 1.2.3-0.20221203202318-20f59eda2420 (semver)

Fixed versions

1.2.3-0.20221203202318-20f59eda2420

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences