{
  "id": "CVE-2025-34282",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-34282",
  "published_at": "2025-10-17T18:33:41.829Z",
  "title": "ThingsBoard \u003c v4.2.1 SVG Image SSRF",
  "vendor": "ThingsBoard, Inc.",
  "product": "ThingsBoard",
  "cvss": {
    "score": 9.1,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-03-26T21:41:22Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 160.1,
    "repo": "mathitam/thingsboard-ssrf-cve-2025-34282",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ThingsBoard versions \u003c 4.2.1 contain a server-side request forgery (SSRF) vulnerability in the dashboard's Image Upload Gallery feature. An attacker can upload a malicious SVG file that references a remote URL. If the server processes the SVG file in a way that parses external references, it may initiate unintended outbound requests. This can be used to access internal services or resources.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:thingsboard:thingsboard:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.9,
    "nvd": 9.1
  },
  "repos": [
    {
      "repo": "mathitam/thingsboard-ssrf-cve-2025-34282",
      "url": "https://github.com/mathitam/thingsboard-ssrf-cve-2025-34282",
      "created_at": "2026-03-26T21:41:22Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-03-27T16:26:01Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ThingsBoard, Inc.",
        "product": "ThingsBoard",
        "ranges": [
          "\u003c 4.2.1"
        ],
        "fixed_in": [
          "4.2.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ThingsBoard to 4.2.1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/thingsboard/thingsboard/releases/tag/v4.2.1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/thingsboard/thingsboard/pull/13927"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/image",
      "headers": [
        {
          "name": "Origin",
          "value": "http://localhost:8080"
        },
        {
          "name": "Referer",
          "value": "http://localhost:8080/resources/images"
        },
        {
          "name": "X-Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "name=\"file\""
      ],
      "content_type": "multipart/form-data",
      "ports": [
        8080
      ],
      "user_agents": [
        "python-requests/2.x"
      ],
      "protocol": "http",
      "repos": [
        "mathitam/thingsboard-ssrf-cve-2025-34282"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mathitam/thingsboard-ssrf-cve-2025-34282/thingsboard_4.2.0_ssrf_CVE-2025-34282_exploit.py:89"
      ]
    },
    {
      "method": "POST",
      "path_template": "/api/widgetType",
      "headers": [
        {
          "name": "Origin",
          "value": "http://localhost:8080"
        },
        {
          "name": "Referer",
          "value": "http://localhost:8080/resources/images"
        },
        {
          "name": "X-Authorization",
          "value": "Bearer {var}"
        }
      ],
      "body_markers": [
        "\"fqn\":\"SSRF_testing_Poc\"",
        "\"name\":\"SSRF_testing_Poc\"",
        "\"deprecated\"",
        "\"image\":\"tb-image;/api/images/system/air_quality_index_card_system_widget_image.png\"",
        "\"description\":\"Displays the latest air quality index telemetry in a scalable rectangle card.\"",
        "\"descriptor\"",
        "\"resources\"",
        "\"scada\"",
        "\"tags\""
      ],
      "content_type": "application/json",
      "ports": [
        8080
      ],
      "user_agents": [
        "python-requests/2.x"
      ],
      "protocol": "http",
      "repos": [
        "mathitam/thingsboard-ssrf-cve-2025-34282"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "mathitam/thingsboard-ssrf-cve-2025-34282/thingsboard_4.2.0_ssrf_CVE-2025-34282_exploit.py:136"
      ]
    }
  ],
  "rules": []
}
