{
  "id": "security/go/open2b__scriggo/2026-10-28-js-template-literal-autoescape-xss",
  "title": "JavaScript template literals not escaped by contextual autoescaping",
  "category": "security",
  "type": "xss",
  "severity": "medium",
  "cvss": {
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
    "score": 6.1
  },
  "ecosystem": "go",
  "project": {
    "owner": "open2b",
    "repo": "scriggo",
    "url": "https://github.com/open2b/scriggo"
  },
  "affected_versions": [
    "<= v0.61.1"
  ],
  "fixed_version": "v0.62.0",
  "status": "published",
  "disclosure": {
    "channel": "pvr",
    "ghsa_id": "GHSA-36mv-rmc7-qf5q",
    "cve_id": null,
    "url": "https://github.com/open2b/scriggo/security/advisories/GHSA-36mv-rmc7-qf5q",
    "published_at": "2026-11-28T02:08:14+03:00"
  },
  "summary": "Contextual autoescaping did not escape backticks, $ and { in values shown in JavaScript template literals. The same applies to values shown in JavaScript code after a template literal that contains a quote, so an attacker-controlled value could execute JavaScript on the page. Versions up to and including v0.61.1 are affected. Fixed in v0.62.0. The published advisory is GHSA-36mv-rmc7-qf5q. GitHub rates it medium, with CVSS 3.1 score 6.1. There is no CVE. The advisory credits Ugur Celik (ucsurf).",
  "discovered_at": "2026-10-28T00:00:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-30T10:00:00+03:00",
  "pr": null,
  "references": [
    "https://github.com/open2b/scriggo/releases/tag/v0.62.0"
  ]
}
