Description
A weakness has been identified in ChatGPTNextWeb NextChat up to 2.16.1. This affects the function storeUrl of the file app/api/artifacts/route.ts of the component Artifacts Endpoint. This manipulation of the argument ID causes server-side request forgery. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Problem types
Product status
2.16.1
Timeline
| 2026-04-27: | Advisory disclosed |
| 2026-04-27: | VulDB entry created |
| 2026-04-27: | VulDB entry last update |
Credits
Eric-b (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/359780 (VDB-359780 | ChatGPTNextWeb NextChat Artifacts Endpoint route.ts storeUrl server-side request forgery)
vuldb.com/vuln/359780/cti (VDB-359780 | CTI Indicators (IOB, IOC, IOA))
vuldb.com/submit/797646 (Submit #797646 | nextchat <= 2.16.1 Server-Side Request Forgery (CWE-918) / Path Traversal (CWE-22))
github.com/ChatGPTNextWeb/NextChat/issues/6741
gist.github.com/YLChen-007/43252d45d75e8bdd2d45136fd6ffe8a5
github.com/ChatGPTNextWeb/NextChat/