CVE-2017-6485 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in a victim's browser via the error.php endpoint in the php-calendar 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-2017-6485?

CVE-2017-6485 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Mar 2017. 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 Cross-Site Scripting (XSS) issue was discovered in php-calendar before 2017-03-03. The vulnerability exists due to insufficient filtration of user-supplied data (errorMsg) passed to the "php-calendar-master/error.php" URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.

Weakness: CWE-79

Which versions are affected by CVE-2017-6485?

It affects 1 product.

Products include Php-Calendar Php-Calendar.

How do I fix CVE-2017-6485?

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-2017-6485 being exploited?

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

Sources

Also known as GHSA-76rq-rhfj-3qrf, MINI-64fq-fcpj-g954, MINI-8cv3-hr7c-pfq6, MINI-pjj7-9584-5v2x, MINI-xg6r-p852-x5jv, MINI-xvw8-h76w-rx32.

Is CVE-2017-6485 in your software?

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

Check your SBOMs for free