CVE-2022-23466: Teler.app Cross-Site Scripting Vulnerability

LOW
Advisory Identifier: GHSA-xr7p-8q82-878q
CVSS 3.1
CWE-79
Published
Advisory Summary

CVE-2022-23466 is a LOW (CVSS 3.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Teler.app libraries in the Go ecosystem. The issue involves teler dashboard vulnerable to dom-based cross-site scripting (xss). Remediation is available by upgrading affected packages to version 2.0.0-rc.4, 2.0.0-dev.2, 0.0.0-20221203202318-20f59eda2420, 1.2.3-0.20221203202318-20f59eda2420.

CVE-2022-23466 at a Glance

CVE Identifier CVE-2022-23466
GHSA Identifier GHSA-xr7p-8q82-878q
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Teler.app
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2022-23466

To remediate this vulnerability, upgrade all affected Teler.app dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

teler.app fixed: 2.0.0-rc.4
Upgrade teler.app to 2.0.0-rc.4
teler.app fixed: 2.0.0-dev.2
Upgrade teler.app to 2.0.0-dev.2
teler.app fixed: 0.0.0-20221203202318-20f59eda2420
Upgrade teler.app to 0.0.0-20221203202318-20f59eda2420
teler.app fixed: 1.2.3-0.20221203202318-20f59eda2420
Upgrade teler.app to 1.2.3-0.20221203202318-20f59eda2420
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for teler.app

How to Check if You Are Affected

To determine whether your application is affected by CVE-2022-23466, inspect your project dependencies for Teler.app:

inspect dependencies for teler.app

Analyze the terminal output to locate any version of Teler.app in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.0-rc.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where 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. In Teler.app, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

CVE-2022-23466 Affected Teler.app Versions

4 component(s)
Fixed Versions:
2.0.0-rc.42.0.0-dev.20.0.0-20221203202318-20f59eda24201.2.3-0.20221203202318-20f59eda2420
Product / Package Ecosystem Affected Versions Fixed Version
teler.app
Go
≥ 2.0.0-rc
< 2.0.0-rc.4
2.0.0-rc.4
teler.app
Go
≥ 2.0.0-dev
< 2.0.0-dev.2
All 1 versions
2.0.0-dev
2.0.0-dev.2
teler.app
Go
≥ 0.0.0-20220625162531-2289e90590a9
< 0.0.0-20221203202318-20f59eda2420
0.0.0-20221203202318-20f59eda2420
teler.app
Go
≥ 1.2.3-0.20220625162531-2289e90590a9
< 1.2.3-0.20221203202318-20f59eda2420
1.2.3-0.20221203202318-20f59eda2420

References

Frequently Asked Questions

What is CVE-2022-23466?
CVE-2022-23466 is a security vulnerability in Teler.app involving teler dashboard vulnerable to DOM-based cross-site scripting (XSS) under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Teler.app versions are affected?
Affected versions include releases prior to 2.0.0-rc.4, 2.0.0-dev.2, 0.0.0-20221203202318-20f59eda2420, 1.2.3-0.20221203202318-20f59eda2420 across affected packages: teler.app.
What version fixes CVE-2022-23466?
Upgrading to 2.0.0-rc.4, 2.0.0-dev.2, 0.0.0-20221203202318-20f59eda2420, 1.2.3-0.20221203202318-20f59eda2420 (or the latest patched release for your respective branch) resolves the vulnerability.
Is teler.app affected?
Yes, teler.app is affected in releases prior to 2.0.0-rc.4, 2.0.0-dev.2, 0.0.0-20221203202318-20f59eda2420, 1.2.3-0.20221203202318-20f59eda2420. Upgrade your dependency to 2.0.0-rc.4, 2.0.0-dev.2, 0.0.0-20221203202318-20f59eda2420, 1.2.3-0.20221203202318-20f59eda2420 or later.
What is the CVSS score of CVE-2022-23466?
CVE-2022-23466 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L.
What CWE is associated with CVE-2022-23466?
CVE-2022-23466 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (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.).
How can I check Go dependencies for CVE-2022-23466?
Run the dependency tree command: 'inspect dependencies for teler.app'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xr7p-8q82-878q",
  "modified" : "2025-07-08T19:39:18Z",
  "published" : "2022-12-06T15:36:15Z",
  "aliases" : [ "CVE-2022-23466" ],
  "summary" : "teler dashboard vulnerable to DOM-based cross-site scripting (XSS)",
  "details" : "### Description\n\nteler 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.\n\n### Impact\n\nThis 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.\n\n### Affected Version\n\nThis issue was introduced from version `v2.0.0-rc` to `v2.0.0-rc.3` & `v2.0.0-dev`.\n\n### Patches\n\nThis vulnerability has been fixed on version `v2.0.0-rc.4` & `v2.0.0-dev.2`.\n\n### Workarounds\n\nHere are some workarounds to handle this case:\n- Deactivate the live event dashboard from the configuration file, or\n- Upgrade teler version to `v2.0.0-rc.4` or `v2.0.0-dev.2` & above.\n\n### References\n\n- https://github.com/kitabisa/teler/commit/20f59eda2420ac64e29f199a61230a0abc875e8e",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:L/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "teler.app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-rc"
      }, {
        "fixed" : "2.0.0-rc.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.0-rc.3"
    }
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "teler.app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0-dev"
      }, {
        "fixed" : "2.0.0-dev.2"
      } ]
    } ],
    "versions" : [ "2.0.0-dev" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "teler.app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20220625162531-2289e90590a9"
      }, {
        "fixed" : "0.0.0-20221203202318-20f59eda2420"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "teler.app"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.2.3-0.20220625162531-2289e90590a9"
      }, {
        "fixed" : "1.2.3-0.20221203202318-20f59eda2420"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/kitabisa/teler/security/advisories/GHSA-xr7p-8q82-878q"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-23466"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kitabisa/teler/commit/20f59eda2420ac64e29f199a61230a0abc875e8e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/kitabisa/teler"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-12-06T15:36:15Z",
    "nvd_published_at" : "2022-12-06T18:15:00Z"
  }
}