Public vulnerability disclosure
CVE-2026-120349
dayrui XunRuiCMS Mobile Site Directory index.php str_replace code injection
publishedCWE-94CWE-74
A security flaw has been discovered in dayrui XunRuiCMS up to 4.7.4. Affected by this issue is the function str_replace of the file /var/www/html/zzmob/index.php of the component Mobile Site Directory. The manipulation of the argument dirname results in code injection. The attack can be launched remotely. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Technical severity6.9 mediumCVSS 4.0 · CNA: VulDB
Published2026-11-02Source updated 2026-11-02
Collected2026-11-021 attributed source
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| XunRuiCMS dayrui |
4.7.0 (affected) 4.7.1 (affected) 4.7.2 (affected) 4.7.3 (affected) 4.7.4 (affected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.9 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | CNA: VulDB |
| 3.1 / 7.3 high |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | CNA: VulDB |
| 3.0 / 7.3 high |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C | CNA: VulDB |
| 2.0 / 7.5 high |
AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C | CNA: VulDB |
Exploit evidence
- https://github.com/tiranbge/disclosure-xunruicms-4.7.2/blob/master/reports/2.md
exploit · CNA: VulDB
References
- https://vuldb.com/vuln/429673CNA: VulDB · vdb-entry, technical-description
- https://vuldb.com/vuln/429673/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-120349CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1016299CNA: VulDB · third-party-advisory
- https://github.com/tiranbge/disclosure-xunruicms-4.7.2/blob/master/reports/2.mdCNA: VulDB · exploit