Server-side Request Forgery (SSRF) Affecting prompts.chat package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PROMPTSCHAT-16080656
  • published16 Apr 2026
  • disclosed3 Apr 2026
  • creditMehmet Ince

Introduced: 3 Apr 2026

NewCVE-2026-22662  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

prompts.chat is a Developer toolkit for AI prompts - build, validate, parse, and connect to prompts.chat

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the Wiro media-generate plugin. An attacker can access internal network resources and exfiltrate data by sending crafted POST requests with user-controlled inputImageUrl parameters to the /api/media-generate endpoint.

CVSS Base Scores

version 4.0
version 3.1