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

Low 1.9 Published Updated

A stored XSS vulnerability in Emlog allows registered users to inject malicious JavaScript, potentially compromising other users' sessions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-47786?

CVE-2025-47786 is a low-severity cross-site scripting vulnerability in Emlog Emlog, published on 15 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2025-47786?

It affects 1 product.

Products include Emlog Emlog.

How do I fix CVE-2025-47786?

No fix has been published for CVE-2025-47786 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-47786 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-47786 exists.

All Emlog Emlog vulnerabilities

Sources

Also known as GHSA-82qc-9vg7-2c6c.

Is CVE-2025-47786 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free