CVE-2023-30852
mediumpriority · track · 20EPSS 0.010 · 63 %ileEUUSEPSS · scored 2026-10-27
Pimcore is an open source data and experience management platform. Prior to version 10.5.21, the `/admin/misc/script-proxy` API endpoint that is accessible by an authenticated administrator user is vulnerable to arbitrary JavaScript and CSS file read via the `scriptPath` and `scripts` parameters. The `scriptPath` parameter is not sanitized properly and is vulnerable to path traversal attack. Any JavaScript/CSS file from the application server can be read by specifying sufficient number of `../` patterns to go out from the application webroot followed by path of the folder where the file is located in the "scriptPath" parameter and the file name in the "scripts" parameter. The JavaScript file is successfully read only if the web application has read access to it. Users should update to version 10.5.21 to receive a patch or, as a workaround, apply the patch manual.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-j5c3-r84f-9596Arbitrary File Read in Admin JS CSS files2023-04-27ghsa · osvUS
### Impact It was observed that the `/admin/misc/script-proxy` API endpoint accessible by an authenticated administrator user and is vulnerable arbitrary JavaScript, CSS file read via the "scriptPath" and "scripts" parameters. The "scriptPath" parameter is not sanitized properly and is vulnerable to path traversal attack. Any JavaScript/CSS file from the application server can be read by specifying sufficient number of "../" patterns to go out from the application webroot followed by path of the folder where the file is located in the "scriptPath" parameter and the file name in the "scripts" parameter. The JavaScript file is successfully read only if the web application has read access to it. ### Patches Update to version 10.5.21 or apply this patch manually https://github.com/pimcore/pimcore/commit/1d128404eddf4beb560d434437347da7aea059eb.patch ### Workarounds Apply patch https://github.com/pimcore/pimcore/commit/1d128404eddf4beb560d434437347da7aea059eb.patch manually. ### References https://github.com/pimcore/pimcore/pull/14959
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-30852/cnnvd
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patchcnnvd
- https://github.com/pimcore/pimcore/pull/14959cnnvd
- https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2023-30852cnnvd
- https://github.com/pimcore/pimcore/commit/498cadec2292f7842fb10612068ac78496e884b4.patchenisa_euvd
- https://github.com/pimcore/pimcore/pull/14959enisa_euvd
- https://github.com/pimcore/pimcore/security/advisories/GHSA-j5c3-r84f-9596enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan