Medium
Security advisory
Cockpit (and its plugins) do not seem to protect itself against clickjacking. It is possible to render a page from a cockpit server via another website, inside an HTML entry. This may be used by a malicious website in clickjacking or similar attacks.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3660
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:45 UTC · Revision 1
Source evidence
Cockpit (and its plugins) do not seem to protect itself against clickjacking. It is possible to render a page from a cockpit server via another website, inside an HTML entry. This may be used by a malicious website in clickjacking or similar attacks.
osv:CVE-2021-3660
Complete source record
{
"id": "11646ce417ea1faeebca404f4882c323aa2e60ff91670a9644f4189138d661de",
"url": "https://osv.dev/vulnerability/CVE-2021-3660",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3660",
"summary": "Cockpit (and its plugins) do not seem to protect itself against clickjacking. It is possible to render a page from a cockpit server via another website, inside an HTML entry. This may be used by a malicious website in clickjacking or similar attacks.",
"evidence": "osv:CVE-2021-3660",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3660",
"aliases": [
"CVE-2021-3660"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cockpit-project/cockpit",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "251926ad966a6a57e992b06c4fccf2f2423f88a8"
},
{
"fixed": "8d9bc10d8128aae03dfde62fd00075fe492ead10"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cockpit-project:cockpit:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "254"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "8d9bc10d8128aae03dfde62fd00075fe492ead10"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"253",
"251",
"252",
"250",
"249",
"248",
"247",
"246",
"245",
"244.1",
"244",
"243",
"242",
"241",
"240",
"239",
"238.1",
"238",
"237",
"236",
"235",
"234",
"233.1",
"233",
"232",
"231",
"230",
"229",
"228",
"227",
"226",
"225",
"224",
"223",
"222.1",
"222",
"221.1",
"221",
"220",
"219",
"218",
"217",
"216",
"215",
"214.1",
"214",
"213",
"212",
"211",
"210",
"209",
"208",
"207",
"206",
"205.1",
"205",
"204",
"203",
"202.1",
"202",
"201",
"200",
"199",
"197",
"196",
"198",
"195",
"194",
"193",
"192",
"191",
"190",
"189",
"188",
"187",
"186",
"184",
"185",
"183",
"182",
"181",
"180",
"179",
"178",
"177",
"176",
"175",
"174",
"173",
"172",
"171",
"170",
"169",
"168",
"167",
"166",
"165",
"164",
"163",
"162",
"161",
"160",
"159",
"158",
"157",
"156",
"155",
"154",
"153",
"152",
"151",
"150",
"149",
"148",
"147",
"146",
"145",
"144",
"143",
"142",
"141",
"140",
"139",
"138",
"137",
"136",
"135",
"134",
"133",
"132",
"131",
"130",
"129",
"128",
"127",
"126",
"125",
"124",
"123",
"122",
"121",
"120",
"119",
"118",
"0.117",
"0.116",
"0.115",
"0.114",
"0.113",
"0.112",
"0.111",
"0.110",
"0.109",
"0.108",
"0.107",
"0.106",
"0.105",
"0.104",
"0.103",
"0.102",
"0.101",
"0.100",
"0.99",
"0.98",
"0.97",
"0.96-1",
"0.96",
"0.95",
"0.94",
"0.93",
"0.92",
"0.91",
"0.90",
"0.89",
"0.88",
"0.87",
"0.86",
"0.85",
"0.84",
"0.83",
"0.82",
"0.81",
"0.80",
"0.79",
"0.78",
"0.77",
"0.76",
"0.75",
"0.74",
"0.73",
"0.72",
"0.71",
"0.70",
"0.69",
"0.68",
"0.67",
"0.66",
"0.65",
"0.64",
"0.63",
"0.62",
"0.61",
"0.60",
"0.59",
"0.58",
"0.57",
"0.56",
"0.55",
"0.54",
"0.53",
"0.52",
"0.51",
"0.50",
"0.49",
"0.48",
"0.47",
"0.46",
"0.45",
"0.44",
"0.42",
"0.41",
"0.40",
"0.39",
"0.38",
"0.37",
"0.36",
"0.35",
"0.34",
"0.33",
"0.32",
"0.31",
"0.30",
"0.29",
"0.28",
"0.27",
"0.26",
"0.25",
"0.24",
"0.23",
"0.22",
"0.21",
"0.20",
"0.19",
"0.18",
"0.17",
"0.16",
"0.15",
"0.14",
"0.13",
"0.12",
"0.11",
"0.10",
"0.9",
"0.8",
"0.7",
"0.6",
"0.5",
"0.4",
"0.3",
"0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3660.json",
"vanir_signatures": [
{
"id": "CVE-2021-3660-0b2bf10d",
"digest": {
"threshold": 0.9,
"line_hashes": [
"134655402416378279483429680485234518541",
"292222678174790241311677260487533223928",
"309271648936713598462387289853482135675",
"268971167726584180281546125277119645421",
"133267846151928897689910292218534056527",
"3397344417416461134128263470272402462",
"281014394522471031140424059057317025718",
"144330048431258142360128838096477822215",
"173555419823742892274023789639976169352",
"56982047601249035356228339888196003252",
"86012658027789560600591753589253616155",
"130140710033837481933422337657713424558"
]
},
"source": "https://github.com/cockpit-project/cockpit/commit/8d9bc10d8128aae03dfde62fd00075fe492ead10",
"target": {
"file": "src/common/cockpitwebresponse.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-3660-88da9a07",
"digest": {
"length": 1908,
"function_hash": "218541981637196949492337221263490501649"
},
"source": "https://github.com/cockpit-project/cockpit/commit/8d9bc10d8128aae03dfde62fd00075fe492ead10",
"target": {
"file": "src/common/cockpitwebresponse.c",
"function": "finish_headers"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-3660-d186b283",
"digest": {
"length": 1155,
"function_hash": "64335642523941509145852724743639902650"
},
"source": "https://github.com/cockpit-project/cockpit/commit/8d9bc10d8128aae03dfde62fd00075fe492ead10",
"target": {
"file": "src/common/cockpitwebresponse.c",
"function": "append_header"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T14:25:24Z"
}
}
],
"modified": "2026-10-20T14:25:24.713926763Z",
"provider": "osv",
"references": [
"https://bugzilla.redhat.com/show_bug.cgi?id=1980688",
"https://github.com/cockpit-project/cockpit/commit/8d9bc10d8128aae03dfde62fd00075fe492ead10",
"https://github.com/cockpit-project/cockpit/issues/16122"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:enterprise_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2021-3660",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388981,
"published_at": "2022-03-10T17:42:55.647+00:00"
}