Skip to content
Heist/ feed
Back to feed
UnratedFix available

samba — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2011-2694

Cross-site scripting (XSS) vulnerability in the chg_passwd function in web/swat.c in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allows remote authenticated administrators to inject arbitrary web script or HTML via the username parameter to the passwd program (aka the user field to the Change Password page).

Products
samba
Affected versions
Not specified
Fixed versions
2:3.5.10~dfsg-1
CVEs
CVE-2011-2694
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 22:40 UTC · Revision 1

Source evidence

DEBIAN-CVE-2011-2694

core-osv · Original source

Published 29 Jul 2011, 20:55 UTC

Cross-site scripting (XSS) vulnerability in the chg_passwd function in web/swat.c in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allows remote authenticated administrators to inject arbitrary web script or HTML via the username parameter to the passwd program (aka the user field to the Change Password page).

osv:DEBIAN-CVE-2011-2694

samba

Fixed versions: 2:3.5.10~dfsg-1

samba

Fixed versions: 2:3.5.10~dfsg-1

samba

Fixed versions: 2:3.5.10~dfsg-1

Complete source record
{
  "id": "9b17cada4135b35c8e40f8f61eda6e7ee0c40a24e72004508ffb872d205cb5ec",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2011-2694",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2011-2694",
    "summary": "Cross-site scripting (XSS) vulnerability in the chg_passwd function in web/swat.c in the Samba Web Administration Tool (SWAT) in Samba 3.x before 3.5.10 allows remote authenticated administrators to inject arbitrary web script or HTML via the username parameter to the passwd program (aka the user field to the Change Password page).",
    "evidence": "osv:DEBIAN-CVE-2011-2694",
    "products": [
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:3.5.10~dfsg-1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:3.5.10~dfsg-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "samba",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "2:3.5.10~dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "DEBIAN-CVE-2011-2694",
      "aliases": [
        "DEBIAN-CVE-2011-2694"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.5.10~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2694.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.5.10~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2694.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2:3.5.10~dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "samba",
            "purl": "pkg:deb/debian/samba?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2011-2694.json"
          },
          "ecosystem_specific": {
            "urgency": "low"
          }
        }
      ],
      "modified": "2026-10-23T17:47:27.335626893Z",
      "provider": "osv",
      "upstream": [
        "CVE-2011-2694"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2011-2694"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2011-2694",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 417015,
  "published_at": "2011-07-29T20:55:02.22+00:00"
}