CVE-2016-4807 Web2py Reflected XSS vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
web2py PyPI | All versions to 2.14.5 | None |
web2py PyPI | All versions to 2.14.5 | None |
web2py PyPI | All versions to 2.14.5 | None |
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.
Other vulnerabilities in n/a
- CVE-2023-45158 Command injection in web2py
- CVE-2016-3953 web2py remote code execution via hardcoded encryption key in session.connect function
- CVE-2016-3957 Deserialization in n/a
- CVE-2016-10321 web2py is vulnerable to password brute-force attack
- CVE-2016-4808 Web2py Cross-Site Request Forgery vulnerability
Sources
Also known as GHSA-pvcp-73cg-6f77, PYSEC-2026-1063, UBUNTU-CVE-2016-4807.