CVE-2015-2939 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via Lua error backtraces in the Scribunto extension, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2015-2939?
CVE-2015-2939 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Apr 2015. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the Scribunto extension for MediaWiki allows remote attackers to inject arbitrary web script or HTML via a function name, which is not properly handled in a Lua error backtrace.
Weakness: CWE-79
Which versions are affected by CVE-2015-2939?
It affects 1 product.
Products include Mediawiki Scribunto.
How do I fix CVE-2015-2939?
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-2015-2939 being exploited?
There is no known exploitation of CVE-2015-2939 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2015-2939, GHSA-rr2j-6cp9-96xh.