{
  "id": "security/go/mrz1836__go-sanitize/2026-11-01-scripts-sanitizer-bypass",
  "title": "Scripts() sanitizer bypass",
  "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": "mrz1836",
    "repo": "go-sanitize",
    "url": "https://github.com/mrz1836/go-sanitize"
  },
  "affected_versions": [
    "< 1.6.1"
  ],
  "fixed_version": "1.6.1",
  "status": "published",
  "disclosure": {
    "channel": "pvr",
    "ghsa_id": "GHSA-h358-v5hw-j5c3",
    "cve_id": null,
    "url": "https://github.com/mrz1836/go-sanitize/security/advisories/GHSA-h358-v5hw-j5c3",
    "reported_at": "2026-10-31T00:00:00+03:00",
    "published_at": "2026-11-07T06:14:24+03:00",
    "accepted_at": "2026-11-01T21:34:00+03:00"
  },
  "summary": "Scripts() is documented to remove script, iframe, embed, and object tags, but through v1.6.0 it left those elements in place, so script content can survive sanitization. Fixed in 1.6.1.",
  "discovered_at": "2026-10-31T00:00:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-08T13:12:44+03:00",
  "pr": null
}
