CVE-2026-120349 dayrui XunRuiCMS Mobile Site Directory index.php str_replace code injection
MediumCVSS 6.9
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- PHP
Description
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| xunruicms | = 4.7.0; = 4.7.1; = 4.7.2; = 4.7.3 +1 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| xunruicms | = 4.7.0 | No fix listed |
| xunruicms | = 4.7.1 | No fix listed |
| xunruicms | = 4.7.2 | No fix listed |
| xunruicms | = 4.7.3 | No fix listed |
| xunruicms | = 4.7.4 | No fix listed |
References
- VDB-429673 | dayrui XunRuiCMS Mobile Site Directory index.php str_replace code injection technical-description vdb-entry
- VDB-429673 | CTI Indicators (IOB, IOC, TTP, IOA) permissions-required signature
- CVE-2026-120349 | CVE Analysis and Report third-party-advisory
- Submit #1016299 | dayrui XunRuiCMS 4.7.2 Code Injection third-party-advisory
- github.com exploit
- ENISA EUVD EUVD-2026-115071 third-party-advisory