# CVE-2026-120349: dayrui XunRuiCMS Mobile Site Directory index.php str_replace code injection

- Severity: Medium 6.9 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-02T06:00:13.945Z
- Modified: 2026-11-02T16:19:19.997Z
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- dayrui XunRuiCMS: 4.7.0; 4.7.1; 4.7.2; 4.7.3; 4.7.4

## Every score

- VulDB: CVSS: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`
- VulDB: CVSS: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`
- VulDB: CVSS: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`
- VulDB: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:C`

## References

- <https://github.com/tiranbge/disclosure-xunruicms-4.7.2/blob/master/reports/2.md> (exploit)
- <https://vuldb.com/vuln/429673> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/429673/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-120349> (third-party-advisory)
- <https://vuldb.com/submit/1016299> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-120349](https://www.cve.org/CVERecord?id=CVE-2026-120349), CVE Terms of Use, modified 2026-11-02
- NVD: [CVE-2026-120349](https://nvd.nist.gov/vuln/detail/CVE-2026-120349), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-120349 · Whole record: https://cve.day/CVE-2026-120349.json · Rebuilt by cve.day 2026-11-25T22:59:48.167Z
