CVE-2025-7887 Zavy86 WikiDocs template.inc.php cross site scripting

Medium 5.3 Published Updated

Remote attackers can inject malicious scripts via the path argument in WikiDocs, potentially compromising user sessions or executing code.

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

What is CVE-2025-7887?

CVE-2025-7887 is a medium-severity cross-site scripting vulnerability in Zavy86 WikiDocs, published on 20 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A vulnerability has been found in Zavy86 WikiDocs up to 1.0.78 and classified as problematic. This vulnerability affects unknown code of the file template.inc.php. The manipulation of the argument path leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-94, CWE-79

Which versions are affected by CVE-2025-7887?

It affects 1 product.

Products include Wikidocs Wikidocs.

How do I fix CVE-2025-7887?

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

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

Sources

Also known as GHSA-2gq8-6j4j-m6j2.

Is CVE-2025-7887 in your software?

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

Check your SBOMs for free