CVE-2019-25147 Pretty Links <= 2.1.9 - Unauthenticated Stored Cross-Site Scripting via track_link

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary web scripts via IP headers in the Pretty Links WordPress plugin, leading to stored XSS.

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

What is CVE-2019-25147?

CVE-2019-25147 is a high-severity cross-site scripting vulnerability in supercleanse PrettyLinks – Affiliate Links, Link Branding, Link Tracking, Marketing and Stripe Payments Plugin, published on 7 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Pretty Links plugin for WordPress is vulnerable to Stored Cross-Site Scripting via various IP headers as well as the referer header in versions up to, and including, 2.1.9 due to insufficient input sanitization and output escaping in the track_link function. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Weakness: CWE-79

Which versions are affected by CVE-2019-25147?

It affects 1 product.

Products include Prettylinks Pretty Links.

How do I fix CVE-2019-25147?

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

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

Sources

Also known as GHSA-4r26-5226-443f.

Is CVE-2019-25147 in your software?

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

Check your SBOMs for free