CVE-2023-2981: Github.com/pydio/cells Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-wmfc-g86p-fjvr
CVSS 5.4
CWE-80
Published
Advisory Summary

CVE-2023-2981 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Github.com/pydio/cells libraries in the Go ecosystem. The issue involves go package pydio cells vulnerable to cross-site scripting. Remediation is available by upgrading affected packages to version 4.2.1.

CVE-2023-2981 at a Glance

CVE Identifier CVE-2023-2981
GHSA Identifier GHSA-wmfc-g86p-fjvr
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Affected Product Github.com/pydio/cells
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.4

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2023-2981

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

github.com/pydio/cells fixed: 4.2.1
Upgrade github.com/pydio/cells to 4.2.1
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 github.com/pydio/cells

How to Check if You Are Affected

To determine whether your application is affected by CVE-2023-2981, inspect your project dependencies for Github.com/pydio/cells:

inspect dependencies for github.com/pydio/cells

Analyze the terminal output to locate any version of Github.com/pydio/cells in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.1), 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-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS), where the product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages. In Github.com/pydio/cells, 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

A vulnerability, which was classified as problematic, has been found in Abstrium Pydio Cells 4.2.0. This issue affects some unknown processing of the component Chat. The manipulation leads to basic cross site scripting. The attack may be initiated remotely. Upgrading to version 4.2.1 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-230213 was assigned to this vulnerability.

CVE-2023-2981 Affected Github.com/pydio/cells Versions

1 component(s)
Fixed Versions:
4.2.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pydio/cells
Go
< 4.2.1
4.2.1

References

Frequently Asked Questions

What is CVE-2023-2981?
CVE-2023-2981 is a security vulnerability in Github.com/pydio/cells involving go package pydio cells vulnerable to cross-site scripting under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS).
Which Github.com/pydio/cells versions are affected?
Affected versions include releases prior to 4.2.1 across affected packages: github.com/pydio/cells.
What version fixes CVE-2023-2981?
Upgrading to 4.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pydio/cells affected?
Yes, github.com/pydio/cells is affected in releases prior to 4.2.1. Upgrade your dependency to 4.2.1 or later.
What is the CVSS score of CVE-2023-2981?
CVE-2023-2981 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2023-2981?
CVE-2023-2981 is classified under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) (The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.).
How can I check Go dependencies for CVE-2023-2981?
Run the dependency tree command: 'inspect dependencies for github.com/pydio/cells'. 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-wmfc-g86p-fjvr",
  "modified" : "2023-11-15T18:10:04Z",
  "published" : "2023-05-30T15:30:27Z",
  "aliases" : [ "CVE-2023-2981" ],
  "summary" : "go package pydio cells vulnerable to cross-site scripting ",
  "details" : "A vulnerability, which was classified as problematic, has been found in Abstrium Pydio Cells 4.2.0. This issue affects some unknown processing of the component Chat. The manipulation leads to basic cross site scripting. The attack may be initiated remotely. Upgrading to version 4.2.1 is able to address this issue. It is recommended to upgrade the affected component. The identifier VDB-230213 was assigned to this vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pydio/cells"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-2981"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pydio/cells"
  }, {
    "type" : "WEB",
    "url" : "https://popalltheshells.medium.com/multiple-cves-affecting-pydio-cells-4-2-0-321e7e4712be"
  }, {
    "type" : "WEB",
    "url" : "https://pydio.com/en/community/releases/pydio-cells/pydio-cells-enterprise-421"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.230213"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.230213"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-80" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-05-31T18:26:12Z",
    "nvd_published_at" : "2023-05-30T15:15:09Z"
  }
}