# CVE-2025-47786: Emlog vulnerable to Stored Cross-site Scripting

- Severity: Low 1.9 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/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.27%, higher than 21% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-15T19:33:24.271Z
- Modified: 2026-06-17T09:28:41.420Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Emlog is an open source website building system. Version 2.5.13 has a stored cross-site scripting vulnerability that allows any registered user to construct malicious JavaScript, inducing all website users to click. In `/admin/comment.php`, the parameter `perpage_num` is not validated and is directly stored in the `admin_commend_perpage_num` field of the `emlog_options` table in the database. Moreover, the output is not filtered, resulting in the direct output of malicious code. As of time of publication, it is unclear if a patch exists.

(As written by CVE List.)

## Affected

- emlog emlog: = 2.5.13; 2.5.13

## Every score

- GitHub_M: CVSS:4.0 1.9 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/emlog/emlog/security/advisories/GHSA-82qc-9vg7-2c6c> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-47786](https://www.cve.org/CVERecord?id=CVE-2025-47786), CVE Terms of Use, modified 2025-05-19
- NVD: [CVE-2025-47786](https://nvd.nist.gov/vuln/detail/CVE-2025-47786), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47786 · Whole record: https://cve.day/CVE-2025-47786.json · Rebuilt by cve.day 2026-11-25T22:58:58.099Z
