CVE-2016-4807 Web2py Reflected XSS vulnerability

Medium 4.8 Published Updated

Reflected XSS in Web2py allows attackers to execute scripts in the context of logged-in admin users, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2016-4807?

CVE-2016-4807 is a medium-severity cross-site scripting vulnerability in n/a, published on 11 Jan 2017. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Web2py versions 2.14.5 and below was affected by Reflected XSS vulnerability, which allows an attacker to perform an XSS attack on logged in user (admin).

Weakness: CWE-79

Which versions are affected by CVE-2016-4807?

3 open source packages ship an affected version, including web2py. It affects 1 product.

PackageAffectedFixed in
web2py PyPIAll versions to 2.14.5None
web2py PyPIAll versions to 2.14.5None
web2py PyPIAll versions to 2.14.5None

Products include Web2py Web2py.

How do I fix CVE-2016-4807?

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

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

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as GHSA-pvcp-73cg-6f77, PYSEC-2026-1063, UBUNTU-CVE-2016-4807.

Is CVE-2016-4807 in your software?

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

Check your SBOMs for free