CVE-2025-31501 Cross-site scripting in RT

High 7.2 Published Updated

Attackers can inject JavaScript into RT permalinks to execute scripts in victim browsers, potentially leading to session hijacking or data theft.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-31501?

CVE-2025-31501 is a high-severity cross-site scripting vulnerability in bestpractical RT, published on 28 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Best Practical RT (Request Tracker) 5.0 through 5.0.7 allows XSS via JavaScript injection in an RT permalink.

Weakness: CWE-79

Which versions are affected by CVE-2025-31501?

It affects 1 product.

Products include Bestpractical Request Tracker.

How do I fix CVE-2025-31501?

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

There is no known exploitation of CVE-2025-31501 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2025-31501, GHSA-9j47-qv65-j87p, UBUNTU-CVE-2025-31501.

Is CVE-2025-31501 in your software?

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

Check your SBOMs for free