# CVE-2023-2813: Multiple Themes - Reflected XSS

> Attackers can execute arbitrary scripts in victim browsers via reflected XSS in the search box of multiple WordPress themes.

- **Severity:** Medium 6.1 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`)
- **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:** No
- **Published:** 4 Sep 2023
- **Updated:** 2 Aug 2024
- **Also known as:** CVE-2024-1788, CVE-2024-1864, CVE-2024-1865, CVE-2024-1866, GHSA-8mw6-p3x4-67qj

## What is CVE-2023-2813?

CVE-2023-2813 is a medium-severity cross-site scripting vulnerability in Unknown Aapna, published on 4 Sep 2023. 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

All of the above Aapna WordPress theme through 1.3, Anand WordPress theme through 1.2, Anfaust WordPress theme through 1.1, Arendelle WordPress theme before 1.1.13, Atlast Business WordPress theme through 1.5.8.5, Bazaar Lite WordPress theme before 1.8.6, Brain Power WordPress theme through 1.2, BunnyPressLite WordPress theme before 2.1, Cafe Bistro WordPress theme before 1.1.4, College WordPress theme before 1.5.1, Connections Reloaded WordPress theme through 3.1, Counterpoint WordPress theme through 1.8.1, Digitally WordPress theme through 1.0.8, Directory WordPress theme before 3.0.2, Drop WordPress theme before 1.22, Everse WordPress theme before 1.2.4, Fashionable Store WordPress theme through 1.3.4, Fullbase WordPress theme before 1.2.1, Ilex WordPress theme before 1.4.2, Js O3 Lite WordPress theme through 1.5.8.2, Js Paper WordPress theme through 2.5.7, Kata WordPress theme before 1.2.9, Kata App WordPress theme through 1.0.5, Kata Business WordPress theme through 1.0.2, Looki Lite WordPress theme before 1.3.0, moseter WordPress theme through 1.3.1, Nokke WordPress theme before 1.2.4, Nothing Personal WordPress theme through 1.0.7, Offset Writing WordPress theme through 1.2, Opor Ayam WordPress theme through 18, Pinzolo WordPress theme before 1.2.10, Plato WordPress theme before 1.1.9, Polka Dots WordPress theme through 1.2, Purity Of Soul WordPress theme through 1.9, Restaurant PT WordPress theme before 1.1.3, Saul WordPress theme before 1.1.0, Sean Lite WordPress theme before 1.4.6, Tantyyellow WordPress theme through 1.0.0.5, TIJAJI WordPress theme through 1.43, Tiki Time WordPress theme through 1.3, Tuaug4 WordPress theme through 1.4, Tydskrif WordPress theme through 1.1.3, UltraLight WordPress theme through 1.2, Venice Lite WordPress theme before 1.5.5, Viala WordPress theme through 1.3.1, viburno WordPress theme before 1.3.2, Wedding Bride WordPress theme before 1.0.2, Wlow WordPress theme before 1.2.7 suffer from the same issue about the search box reflecting the results causing XSS which allows an unauthenticated attacker to exploit against users if they click a malicious link.

## Which versions are affected by CVE-2023-2813?

It affects 46 products.


Products: Ajaydsouza Connections Reloaded, Archimidismertzanos Atlast Business, Archimidismertzanos Fashionable Store, Archimidismertzanos Nothing Personal, Arthousewebdesign Brain Power, Asmedia Moseter, Asmedia Tuaug4, Ayecode Cafe Bistro, Ayecode College, Ayecode Directory, Ayecode Plato, Ayecode Restaurant Pt, Ayecode Wedding Bride, Climaxthemes Kata, Competethemes Drop, Davidgarlitz Viala, Deothemes Arendelle, Deothemes Everse, Deothemes Nokke, Dotecsa Ilex and 26 more.

## How do I fix CVE-2023-2813?

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

## Is CVE-2023-2813 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2813 exists.

Public exploit code:

- Wordpress Multiple Themes - Reflected Cross-Site Scripting (nuclei): http/cves/2023/CVE-2023-2813.yaml

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-2813 and fix it if it is affected.

What it is: CVE-2023-2813 is a medium-severity cross-site scripting vulnerability in Unknown Aapna, published on 4 Sep 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2813 exists.

Affected product: Unknown Aapna. 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-2023-2813/ (Markdown: https://insights.sbomify.com/CVE-2023-2813/index.md)
```

## Sources

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

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