# CVE-2021-39317: AccessPress Themes - Authenticated Malicious File Upload

> Authenticated attackers can upload malicious files via a missing capability check in AccessPress Themes plugins and themes, leading to remote code execution.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 11 Oct 2021
- **Updated:** 14 Feb 2025
- **Also known as:** GHSA-737m-cr75-9hw3

## What is CVE-2021-39317?

CVE-2021-39317 is a high-severity vulnerability in AccessPress Themes Access Demo Importer, published on 11 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

A WordPress plugin and several WordPress themes developed by AccessPress Themes are vulnerable to malicious file uploads via the plugin_offline_installer AJAX action due to a missing capability check in the plugin_offline_installer_callback function found in the /demo-functions.php file or /welcome.php file of the affected products. The complete list of affected products and their versions are below: WordPress Plugin: AccessPress Demo Importer <=1.0.6 WordPress Themes: accesspress-basic <= 3.2.1 accesspress-lite <= 2.92 accesspress-mag <= 2.6.5 accesspress-parallax <= 4.5 accesspress-root <= 2.5 accesspress-store <= 2.4.9 agency-lite <= 1.1.6 arrival <= 1.4.2 bingle <= 1.0.4 bloger <= 1.2.6 brovy <= 1.3 construction-lite <= 1.2.5 doko <= 1.0.27 edict-lite <= 1.1.4 eightlaw-lite <= 2.1.5 eightmedi-lite <= 2.1.8 eight-sec <= 1.1.4 eightstore-lite <= 1.2.5 enlighten <= 1.3.5 fotography <= 2.4.0 opstore <= 1.4.3 parallaxsome <= 1.3.6 punte <= 1.1.2 revolve <= 1.3.1 ripple <= 1.2.0 sakala <= 1.0.4 scrollme <= 2.1.0 storevilla <= 1.4.1 swing-lite <= 1.1.9 the100 <= 1.1.2 the-launcher <= 1.3.2 the-monday <= 1.4.1 ultra-seven <= 1.2.8 uncode-lite <= 1.3.3 vmag <= 1.2.7 vmagazine-lite <= 1.3.5 vmagazine-news <= 1.0.5 wpparallax <= 2.0.6 wp-store <= 1.1.9 zigcy-baby <= 1.0.6 zigcy-cosmetics <= 1.0.5 zigcy-lite <= 2.0.9

Weakness: CWE-434 (Unrestricted Upload of File with Dangerous Type), CWE-285 (Improper Authorization)

## Which versions are affected by CVE-2021-39317?

It affects 43 products.


Products: Accesspressthemes Access Demo Importer, Accesspressthemes Accesspress-Lite, Accesspressthemes Accesspress-Mag, Accesspressthemes Accesspress-Parallax, Accesspressthemes Accesspress-Root, Accesspressthemes Accesspress-Store, Accesspressthemes Accesspress Basic, Accesspressthemes Agency-Lite, Accesspressthemes Arrival, Accesspressthemes Bingle, Accesspressthemes Bloger, Accesspressthemes Brovy, Accesspressthemes Construction-Lite, Accesspressthemes Doko, Accesspressthemes Edict-Lite, Accesspressthemes Eight-Sec, Accesspressthemes Eightlaw-Lite, Accesspressthemes Eightmedi-Lite, Accesspressthemes Eightstore-Lite, Accesspressthemes Enlighten and 23 more.

## How do I fix CVE-2021-39317?

No fix has been published for CVE-2021-39317 yet. Limit exposure of the affected software until one is available.

## Is CVE-2021-39317 being exploited?

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

## Other vulnerabilities in AccessPress Themes Access Demo Importer

- [CVE-2022-23976](https://insights.sbomify.com/CVE-2022-23976/): Cross-site request forgery in Access Demo Importer (WordPress plugin) (high 8.1)
- [CVE-2022-23975](https://insights.sbomify.com/CVE-2022-23975/): Cross-site request forgery in Access Demo Importer (WordPress plugin) (medium 6.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-39317 and fix it if it is affected.

What it is: CVE-2021-39317 is a high-severity vulnerability in AccessPress Themes Access Demo Importer, published on 11 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-39317 in the wild and no public exploit code.

Affected product: AccessPress Themes Access Demo Importer. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2021-39317/ (Markdown: https://insights.sbomify.com/CVE-2021-39317/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2021-39317
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2021-39317
- OSV: https://osv.dev/vulnerability/CVE-2021-39317

---
From sbomify Insights: https://insights.sbomify.com/CVE-2021-39317/
Summaries are generated and may contain mistakes; the official description above is the record.
