Skip to content
Heist/ feed
Back to feed
Medium

Krayin CRM 2.2.6 Stored Template Injection XSS via Product Name Field

Type: advisorySources: OSV

Krayin CRM through 2.2.6 contains a stored client-side template injection vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by injecting Vue.js template expressions into the product name field. Attackers can craft a product name containing double-brace template syntax that reaches the Vue template compiler, enabling prototype chain traversal to retrieve the Function constructor and execute attacker-supplied JavaScript in the application origin for every user who views the affected product record.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-48542
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:18 UTC · Revision 1

Source evidence

Krayin CRM 2.2.6 Stored Template Injection XSS via Product Name Field

core-osv · Original source

Published 24 Sept 2026, 19:31 UTC

Krayin CRM through 2.2.6 contains a stored client-side template injection vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by injecting Vue.js template expressions into the product name field. Attackers can craft a product name containing double-brace template syntax that reaches the Vue template compiler, enabling prototype chain traversal to retrieve the Function constructor and execute attacker-supplied JavaScript in the application origin for every user who views the affected product record.

osv:CVE-2026-48542
Complete source record
{
  "id": "daeb16b97a284a3e949f6ab1dd6847756b626064d59df15b1bfb7268c6321bf0",
  "url": "https://osv.dev/vulnerability/CVE-2026-48542",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Krayin CRM 2.2.6 Stored Template Injection XSS via Product Name Field",
    "summary": "Krayin CRM through 2.2.6 contains a stored client-side template injection vulnerability that allows authenticated attackers to execute arbitrary JavaScript in other users' browsers by injecting Vue.js template expressions into the product name field. Attackers can craft a product name containing double-brace template syntax that reaches the Vue template compiler, enabling prototype chain traversal to retrieve the Function constructor and execute attacker-supplied JavaScript in the application origin for every user who views the affected product record.",
    "evidence": "osv:CVE-2026-48542",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-48542",
      "aliases": [
        "CVE-2026-48542"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/krayin/laravel-crm",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "e597417bbc537cbd9716e7f1342d65dc21ac2145"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.2.6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.6",
            "v2.2.5",
            "v2.2.4",
            "v2.2.3",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.6",
            "v2.1.5",
            "v2.1.4",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.2",
            "v1.3.0",
            "v2.0.1",
            "v2.0.0",
            "v2.0.0-BETA-1",
            "v1.2.4",
            "v1.2.3",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.1.3",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.1",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-48542.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.534424627Z",
      "provider": "osv",
      "references": [
        "https://github.com/aaronamran/CVE-Disclosures/tree/main/CVE-2026/CVE-2026-48541",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48542.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-48542",
        "https://www.vulncheck.com/advisories/krayin-crm-stored-template-injection-xss-via-product-name-field",
        "https://github.com/krayin/laravel-crm"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48542.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-48542",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521276,
  "published_at": "2026-09-24T19:31:52.975+00:00"
}