{"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-08-12T03:51:27.754380407Z","published":"2025-05-15T19:33:24.271Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/47xxx/CVE-2025-47786.json"},"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":"d64595bd28bafef1066af93fb3d5bec01b146373"},{"last_affected":"d64595bd28bafef1066af93fb3d5bec01b146373"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:emlog:emlog:2.5.13:*:*:*:pro:*:*:*","extracted_events":[{"introduced":"= 2.5.13"},{"last_affected":"= 2.5.13"},{"introduced":"2.5.13"},{"last_affected":"2.5.13"}]}}],"versions":["2.5.13","= 2.5.13","pro-2.5.13"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-47786.json"}}],"schema_version":"1.9.0","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"}]}