{"id":"CVE-2025-47786","summary":"Emlog vulnerable to Stored Cross-site Scripting","details":"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.","aliases":["GHSA-82qc-9vg7-2c6c"],"modified":"2026-04-10T05:27:32.945183Z","published":"2025-05-15T19:33:24.271Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47786.json","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47786.json"},{"type":"ADVISORY","url":"https://github.com/emlog/emlog/security/advisories/GHSA-82qc-9vg7-2c6c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-47786"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/emlog/emlog","events":[{"introduced":"0"},{"last_affected":"d64595bd28bafef1066af93fb3d5bec01b146373"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"= 2.5.13"}]}}],"versions":["5.3.1","6.0.0","6.1.0","ci","emlog_5.1.2","emlog_5.2.0","emlog_5.2.1","emlog_5.3.0","pro-1.0.1","pro-1.0.2","pro-1.0.3","pro-1.0.4","pro-1.0.5","pro-1.0.6","pro-1.0.7","pro-1.0.8","pro-1.1.0","pro-1.1.1","pro-1.2.0","pro-1.2.1","pro-1.2.2","pro-1.3.0","pro-1.3.1","pro-1.4.0","pro-1.5.0","pro-1.5.0.new","pro-1.5.1","pro-1.6.0","pro-1.7.0","pro-1.7.1","pro-1.8.0","pro-1.9.0","pro-1.9.1","pro-1.9.2","pro-1.9.3","pro-2.0.0","pro-2.0.1","pro-2.0.2","pro-2.0.3","pro-2.1.0","pro-2.1.1","pro-2.1.10","pro-2.1.11","pro-2.1.12","pro-2.1.13","pro-2.1.14","pro-2.1.15","pro-2.1.2","pro-2.1.3","pro-2.1.4","pro-2.1.5","pro-2.1.6","pro-2.1.7","pro-2.1.8","pro-2.1.9","pro-2.2.0","pro-2.2.1","pro-2.2.10","pro-2.2.11","pro-2.2.2","pro-2.2.3","pro-2.2.4","pro-2.2.5","pro-2.2.6","pro-2.2.7","pro-2.2.8","pro-2.2.9","pro-2.3.0","pro-2.3.1","pro-2.3.10","pro-2.3.11","pro-2.3.12","pro-2.3.13","pro-2.3.14","pro-2.3.15","pro-2.3.16","pro-2.3.17","pro-2.3.18","pro-2.3.2","pro-2.3.4","pro-2.3.5","pro-2.3.6","pro-2.3.7","pro-2.3.8","pro-2.3.9","pro-2.4.0","pro-2.4.1","pro-2.4.2","pro-2.4.3","pro-2.5.1","pro-2.5.10","pro-2.5.11","pro-2.5.12","pro-2.5.13","pro-2.5.2","pro-2.5.3","pro-2.5.4","pro-2.5.5","pro-2.5.6","pro-2.5.7","pro-2.5.8","pro-2.5.9","pro-test-01","pro-test-02"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47786.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}