CVE-2026-127092
BuildAdmin 1.0.1 through 2.3.9 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to store javascript: URLs in the admi…
Impact
BuildAdmin 1.0.1 through 2.3.9 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to store javascript: URLs in the admin operation log via the X-Rewrite-URL header. When an administrator clicks the log entry's url open button, the script runs in the backend origin and steals the adminInfo token from localStorage, enabling account takeover.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products · Build-admin
| Product | Affected versions |
|---|---|
| BuildAdmin | from 1.0.1 through 2.3.9 Version 1.0.1 ≤2.3.9 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/build-admin/BuildAdmin/issues/70
- https://vul.yulun.ac.cn/20261112/buildadmin/
- https://github.com/build-admin/BuildAdmin/blob/v2.3.9/app/admin/model/AdminLog.php#L145-L153
- https://github.com/build-admin/BuildAdmin/blob/v2.3.9/web/src/components/table/fieldRender/url.vue#L32-L38
- https://www.vulncheck.com/advisories/buildadmin-1.0.1-through-2.3.9-stored-xss-via-x-rewrite-url-in-admin-log
- https://github.com/advisories/GHSA-867h-r58x-95cx
- https://nvd.nist.gov/vuln/detail/CVE-2026-127092
- https://vul.yulun.ac.cn/20261112/buildadmin