CVE-2019-25315 WP Server Log Viewer 1.0 - 'logfile' Persistent Cross-Site Scripting

Medium 5.1 Published Updated

Attackers can inject malicious scripts via log file paths in WP Server Log Viewer, leading to code execution in the admin interface.

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-2019-25315?

CVE-2019-25315 is a medium-severity cross-site scripting vulnerability in anttiviljami WP Server Log Viewer, published on 11 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

WordPress Server Log Viewer 1.0 contains a persistent cross-site scripting vulnerability that allows attackers to inject malicious scripts through unfiltered log file paths. Attackers can add log files with embedded XSS payloads that will execute when viewed in the WordPress admin interface.

Weakness: CWE-79

Which versions are affected by CVE-2019-25315?

How do I fix CVE-2019-25315?

No fix has been published for CVE-2019-25315 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-2019-25315 being exploited?

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

Sources

Also known as GHSA-gcmq-wqmm-m5gf.

Is CVE-2019-25315 in your software?

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

Check your SBOMs for free