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

Medium 6.1 Published Updated

Stored XSS in DokuWiki allows attackers to execute JavaScript via malicious RSS or Atom feeds, potentially compromising user sessions.

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-12980?

CVE-2017-12980 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Aug 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

DokuWiki through 2017-02-19c has stored XSS when rendering a malicious RSS or Atom feed, in /inc/parser/xhtml.php. An attacker can create or edit a wiki that uses RSS or Atom data from an attacker-controlled server to trigger JavaScript execution. The JavaScript can be in an author field, as demonstrated by the dc:creator element.

Weakness: CWE-79

Which versions are affected by CVE-2017-12980?

It affects 1 product.

Products include Dokuwiki Dokuwiki.

How do I fix CVE-2017-12980?

Apply the vendor's patch.

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-12980 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-12980, GHSA-727h-w92q-ch5h, UBUNTU-CVE-2017-12980.

Is CVE-2017-12980 in your software?

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

Check your SBOMs for free