CVE-2025-61224 Cross-site scripting in n/a

Medium 6.5 Published Updated

Remote attackers can execute arbitrary code via a Cross-Site Scripting vulnerability in the Librarian component's q parameter.

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
Available

What is CVE-2025-61224?

CVE-2025-61224 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Oct 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

Cross Site Scripting vulnerability in DokuWiki 2025-05-14a 'Librarian'[56.1] allows a remote attacker to execute arbitrary code via the q parameter

Weakness: CWE-79

Which versions are affected by CVE-2025-61224?

How do I fix CVE-2025-61224?

Upgrade to a fixed version.

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-61224 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as DEBIAN-CVE-2025-61224, GHSA-pp4p-g4w7-gvp7, UBUNTU-CVE-2025-61224.

Is CVE-2025-61224 in your software?

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

Check your SBOMs for free