CVE-2018-19785 XSS in PHP-Proxy-App through v3.0

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in the victim's browser via the URL field in this PHP proxy library.

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-2018-19785?

CVE-2018-19785 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Dec 2018. 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

PHP-Proxy through 5.1.0 has Cross-Site Scripting (XSS) via the URL field in index.php.

Weakness: CWE-79

Which versions are affected by CVE-2018-19785?

2 open source packages ship an affected version, including athlon1600/php-proxy-app. It affects 1 product.

PackageAffectedFixed in
athlon1600/php-proxy-app PackagistAll versions3.0
athlon1600/php-proxy-app PackagistAll versions3.0

Products include Php-Proxy Php-Proxy.

How do I fix CVE-2018-19785?

Upgrade athlon1600/php-proxy-app to 3.0 or later.

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-2018-19785 being exploited?

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

Sources

Also known as GHSA-cghj-w42g-hqmr.

Is CVE-2018-19785 in your software?

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

Check your SBOMs for free