Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2782+ Articles
166+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. Security
  3. CSRF-to-RCE File Upload Flaw in Gpx2Graphics Plugin
CSRF-to-RCE File Upload Flaw in Gpx2Graphics Plugin
SECURITYHIGHCVE-2026-81090

CSRF-to-RCE File Upload Flaw in Gpx2Graphics Plugin

CVE-2026-81090 lets attackers trick a logged-in WordPress admin into uploading a PHP webshell through the Gpx2Graphics plugin.

Dylan H.

Security Team

September 12, 2026
3 min read

Affected Products

  • Gpx2Graphics Plugin ≤ 0.3

Executive Summary

A high-severity CSRF-to-RCE vulnerability (CVE-2026-81090) has been disclosed in the Gpx2Graphics WordPress plugin. The plugin performs no CSRF check on its file upload handler and does not validate uploaded file types, allowing an attacker to trick a logged-in administrator into unknowingly uploading an arbitrary file — including a PHP webshell — simply by getting them to visit a malicious page.

CVSS Score: 7.2 (High)

Unlike a directly unauthenticated upload flaw, this one requires social engineering an administrator, which lowers its severity slightly but keeps the end result identical: remote code execution.


Vulnerability Overview

AttributeValue
CVE IDCVE-2026-81090
CVSS Score7.2 (High)
TypeCross-Site Request Forgery (CWE-352) + Unrestricted Upload of File with Dangerous Type (CWE-434)
Attack VectorNetwork
Privileges RequiredNone (attacker); requires a logged-in administrator to trigger the request
User InteractionRequired — victim admin must visit a crafted page

Affected Versions

PluginAffected VersionsFixed Version
Gpx2Graphics≤ 0.3Not yet published at time of writing

Attack Vector

1. Attacker crafts a malicious HTML page containing an auto-submitting
   form targeting the Gpx2Graphics upload endpoint
2. Attacker lures a logged-in WordPress administrator into visiting the
   page (phishing link, malicious ad, compromised site, etc.)
3. Victim's browser submits the forged request using their authenticated
   session — no CSRF token required
4. Plugin accepts the upload without validating file type or extension
5. Malicious PHP file is written to a web-accessible directory
6. Attacker accesses the uploaded webshell via HTTP — full RCE

Impact of Successful Exploitation

ImpactDescription
Remote Code ExecutionExecute arbitrary PHP on the server
Full Site CompromiseDatabase access, file manipulation, lateral movement
Requires Admin InteractionAttacker must social-engineer a click, unlike direct unauthenticated flaws

This maps to MITRE ATT&CK T1189 (Drive-by Compromise) / T1204 (User Execution) for delivery, and T1059 (web shell execution) for the payload.


Immediate Remediation

Step 1: Check for a Patch

No fixed version was available at time of disclosure. Monitor the plugin's WordPress.org page or WPScan advisory.

wp plugin get gpx2graphics --field=version

Step 2: Reduce Exposure

  1. Deactivate Gpx2Graphics until a patch is released
  2. Train administrators to avoid clicking unsolicited links while logged into WordPress
  3. Consider requiring re-authentication for sensitive admin actions (e.g. via a security plugin that adds nonce-independent CSRF protection)

Step 3: Scan for Existing Compromise

# Search for recently uploaded PHP files in unexpected locations
find /path/to/wordpress/wp-content/ -name "*.php" -newer /path/to/wordpress/wp-includes/version.php -type f
 
# Verify WordPress core integrity
wp core verify-checksums

Post-Remediation Steps

  1. Apply the vendor patch once released, or remove the plugin
  2. Scan the installation for webshells uploaded during the exposure window
  3. Rotate WordPress admin credentials and session cookies as a precaution
  4. Log out all active admin sessions to invalidate any hijacked sessions
  5. Deploy a WAF to catch PHP uploads to unexpected directories

References

  • OffSeq Threat Radar — CVE-2026-81090 CWE-434 Unrestricted Upload of File with Dangerous Type in Gpx2Graphics
  • VulDB — CVE-2026-81090 in Gpx2Graphics Plugin
  • NIST NVD — CVE-2026-81090

Related Reading

  • DS Ad Rotator Plugin Flaw Allows Unauthenticated RCE on WordPress
  • Critical RCE in WPvivid Backup Plugin Threatens 900,000+
#WordPress#CVE-2026-81090#CSRF#File Upload#RCE#Web Security

Related Articles

WebTotem Backups Plugin Lets Any Subscriber Delete WordPress Files

CVE-2026-77006 lets low-privilege WordPress users delete arbitrary server files after the plugin discards its own CSRF check result.

3 min read

Hackers Actively Exploiting Breeze Cache File Upload Bug in WordPress Attacks

Threat actors are mass-exploiting a critical unauthenticated file upload vulnerability in the Breeze Cache WordPress plugin, uploading PHP webshells to...

5 min read

ChurchCRM Plugin RCE via Malicious ZIP Upload — CVE-2026-58409

A critical authenticated RCE vulnerability in ChurchCRM allows administrators to achieve remote code execution by uploading a malicious plugin ZIP...

4 min read
Back to all Security Alerts