CVE-2018-11564 Pagekit Stored Cross-site Scripting

Medium 4.8 Published Updated

Stored XSS in Pagekit allows attackers to execute arbitrary scripts via malicious SVG uploads, potentially leading to session hijacking or site defacement.

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-2018-11564?

CVE-2018-11564 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Jun 2018. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Stored XSS in YOOtheme Pagekit 1.0.13 and earlier allows a user to upload malicious code via the picture upload feature. A user with elevated privileges could upload a photo to the system in an SVG format. This file will be uploaded to the system and it will not be stripped or filtered. The user can create a link on the website pointing to "/storage/poc.svg" that will point to http://localhost/pagekit/storage/poc.svg. When a user comes along to click that link, it will trigger a XSS attack.

Weakness: CWE-79

Which versions are affected by CVE-2018-11564?

2 open source packages ship an affected version, including pagekit/pagekit. It affects 1 product.

PackageAffectedFixed in
pagekit/pagekit PackagistAll versionsNone
pagekit/pagekit PackagistAll versionsNone

Products include Pagekit Pagekit.

How do I fix CVE-2018-11564?

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

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

Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3rwj-v7jp-w542.

Is CVE-2018-11564 in your software?

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

Check your SBOMs for free