{
  "title": "#{} interpolation output is not HTML-escaped in text and attribute values (XSS)",
  "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": "mattn",
    "repo": "go-slim",
    "url": "https://github.com/mattn/go-slim"
  },
  "affected_versions": [
    "github.com/mattn/go-slim <= 0.0.4"
  ],
  "status": "published",
  "disclosure": {
    "channel": "pvr",
    "ghsa_id": "GHSA-7fgh-h7wv-pc8m",
    "cve_id": null,
    "url": "https://github.com/mattn/go-slim/security/advisories/GHSA-7fgh-h7wv-pc8m",
    "reported_at": "2026-10-31T00:00:00+03:00",
    "published_at": "2026-10-31T14:41:53+03:00",
    "accepted_at": "2026-10-31T14:41:53+03:00"
  },
  "summary": "Values interpolated with #{} in text and attribute positions were emitted without HTML escaping, allowing script injection from user-controlled data. Fixed in 0.0.5.",
  "discovered_at": "2026-10-31T00:00:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-10-31T14:45:00+03:00",
  "pr": null,
  "id": "security/go/mattn__go-slim/2026-10-31-interpolation-xss"
}
