CVE-2023-41798
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedImproper Neutralization of Formula Elements in a CSV File vulnerability in wpWax Directorist – WordPress Business Directory Plugin with Classified Ads Listing.This issue affects Directorist – WordPress Business Directory Plugin with Classified Ads Listings: from n/a through 7.7.1.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is a CSV Injection (Formula Injection) vulnerability in the Directorist WordPress plugin. When the plugin exports data to CSV format, it fails to properly sanitize or escape special characters (=, +, -, @, tab) at the beginning of cell values. Attackers can embed malicious spreadsheet formulas that execute arbitrary commands or exfiltrate data when users open the CSV in spreadsheet software like Excel or Google Sheets.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data<= 7.7.1CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm Directorist plugin is installedIn WordPress admin, go to Plugins > Installed Plugins and locate 'Directorist' or check wp-content/plugins/ directory for directorist folder. Note the installed version number.Affected if Directorist plugin version is <= 7.7.1 and the plugin is active
-
Identify CSV export functionalityCheck if Directorist's import/export features are enabled. Look for 'Export' buttons or settings in Directorist > All Extensions or in the directory listing admin pages. Common export endpoints include /wp-admin/admin-ajax.php?action=directorist_export or similar.Affected if CSV export functionality is accessible and being used on the site
-
Inspect exported CSV files for proper escapingTrigger a CSV export from Directorist (e.g., export listings, users, or other data). Open the CSV in a text editor and examine the first character of each cell value. Cells starting with =, +, -, @, or tab should be escaped (prepended with a single quote ' or tab character).Affected if Any cell value starting with =, +, -, @, or tab character appears WITHOUT a leading quote or escape character in the raw CSV data
-
Check user-submitted data for formula charactersReview the database tables used by Directorist (typically wp_posts, wp_postmeta, or custom tables) for entries where fields like title, description, or custom fields contain values beginning with =, +, -, @. Use SQL: SELECT * FROM wp_posts WHERE post_type='at_biz_dir' AND post_title REGEXP '^[=+\-@]';Affected if User-submitted content exists in the database starting with formula-initiating characters (=, +, -, @) and this data is included in CSV exports without escaping
You are affected if Directorist version is 7.7.1 or lower AND CSV export is enabled AND exported CSV files contain unescaped formula characters (=, +, -, @) at the start of cell values.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedImplement proper escaping of formula characters in CSV exports by prepending a single quote (') or tab character to any value starting with =, +, -, @, or other formula-initiating characters. Update the plugin to version 7.7.2 or later if available.
Directorist version 7.7.2 or higher
- 1. Backup your WordPress database and files before making any changes.
- 2. Navigate to Plugins > Installed Plugins in your WordPress admin dashboard.
- 3. Find the Directorist plugin and check if an update is available.
- 4. If an update is available, click 'Update Now' to install the latest version.
- 5. Alternatively, you can manually download the fixed version from the WordPress plugin repository or from the vendor's website.
- 6. After updating, verify the plugin is running on version 7.7.2 or higher.
- 7. Test the CSV export functionality to confirm the vulnerability is no longer present.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2023-41798 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2023-41798 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data