Vulnerabilities in pkg:golang/github.com/matrix-org/pinecone

PACKAGE
Advisory Identifier: GHSA-fr62-mg2q-7wqv
Advisory Summary

CVE-2025-27155 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)) affecting Github.com/matrix org/pinecone libraries in the Go ecosystem. The issue involves in-memory stored cross-site scripting (xss) vulnerability in pineconesim. Remediation is available in the latest vendor maintenance releases.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/matrix-org/pinecone

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/matrix-org/pinecone. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-fr62-mg2q-7wqv CVE-2025-27155 MODERATE In-memory stored Cross-site scripting (XSS) vulnerability in pineconesim

CVE-2025-27155 at a Glance

CVE Identifier CVE-2025-27155
GHSA Identifier GHSA-fr62-mg2q-7wqv
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
Affected Product Github.com/matrix org/pinecone
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.1

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
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-2025-27155

To remediate this vulnerability, upgrade all affected Github.com/matrix org/pinecone 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/matrix-org/pinecone fixed: Latest secure release
Upgrade github.com/matrix-org/pinecone to Latest secure release
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/matrix-org/pinecone

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-27155, inspect your project dependencies for Github.com/matrix org/pinecone:

inspect dependencies for github.com/matrix-org/pinecone

Analyze the terminal output to locate any version of Github.com/matrix org/pinecone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), 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/matrix org/pinecone, 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

### Impact The Pinecone Simulator (pineconesim) included in Pinecone up to commit https://github.com/matrix-org/pinecone/commit/ea4c33717fd74ef7d6f49490625a0fa10e3f5bbc is vulnerable to stored cross-site scripting. The payload storage is not permanent and will be wiped when restarting pineconsim. ### Patches Commit https://github.com/matrix-org/pinecone/commit/218b2801995b174085cb1c8fafe2d3aa661f85bd contains the fixes. ### Workarounds N/A ### For more information If you have any questions or comments about this advisory, please email us at [security at matrix.org](mailto:security@matrix.org).

CVE-2025-27155 Affected Github.com/matrix org/pinecone Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/matrix-org/pinecone
Go
≤ 0.11.0

References

Frequently Asked Questions

What is CVE-2025-27155?
CVE-2025-27155 is a security vulnerability in Github.com/matrix org/pinecone involving In-memory stored Cross-site scripting (XSS) vulnerability in pineconesim under CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS).
Which Github.com/matrix org/pinecone versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/matrix-org/pinecone.
What version fixes CVE-2025-27155?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/matrix-org/pinecone affected?
Yes, github.com/matrix-org/pinecone is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-27155?
CVE-2025-27155 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2025-27155?
CVE-2025-27155 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-2025-27155?
Run the dependency tree command: 'inspect dependencies for github.com/matrix-org/pinecone'. 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-fr62-mg2q-7wqv",
  "modified" : "2025-03-11T17:16:40Z",
  "published" : "2025-03-04T17:23:15Z",
  "aliases" : [ "CVE-2025-27155" ],
  "summary" : "In-memory stored Cross-site scripting (XSS) vulnerability in pineconesim",
  "details" : "### Impact\nThe Pinecone Simulator (pineconesim) included in Pinecone up to commit https://github.com/matrix-org/pinecone/commit/ea4c33717fd74ef7d6f49490625a0fa10e3f5bbc is vulnerable to stored cross-site scripting. The payload storage is not permanent and will be wiped when restarting pineconsim.\n\n### Patches\nCommit https://github.com/matrix-org/pinecone/commit/218b2801995b174085cb1c8fafe2d3aa661f85bd contains the fixes.\n\n### Workarounds\nN/A\n\n### For more information\n\nIf you have any questions or comments about this advisory, please email us at [security at matrix.org](mailto:security@matrix.org).",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/matrix-org/pinecone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.11.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/matrix-org/pinecone/security/advisories/GHSA-fr62-mg2q-7wqv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-27155"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/matrix-org/pinecone/commit/218b2801995b174085cb1c8fafe2d3aa661f85bd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/matrix-org/pinecone"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3500"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79", "CWE-80" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-03-04T17:23:15Z",
    "nvd_published_at" : "2025-03-04T17:15:18Z"
  }
}