Server code execution via forged plugin settings
Published Jan 21, 2026 · Updated Jan 21, 2026
Cross-site request forgery in GetSimple CMS Custom JS Plugin 0.1 allows remote attackers to execute code on the hosting server. The CustomJSPlugin settings handler accepts a cross-origin POST without a CSRF token, stores customjs_js_content, and emits that JavaScript in the theme footer; the payload then uses the administrator's session and theme editor to write a PHP web shell. Exploitation requires an authenticated administrator to visit the attacker's page and then load a CMS page, after which the stored script can act with that session's privileges.
Summary
What happened
Cross-site request forgery in GetSimple CMS Custom JS Plugin 0.1 allows remote attackers to execute code on the hosting server. The CustomJSPlugin settings handler accepts a cross-origin POST without a CSRF token, stores customjs_js_content, and emits that JavaScript in the theme footer; the payload then uses the administrator's session and theme editor to write a PHP web shell. Exploitation requires an authenticated administrator to visit the attacker's page and then load a CMS page, after which the stored script can act with that session's privileges.
The record
- CVE
- CVE-2021-47860
- Published
- Jan 21, 2026
- Updated
- Jan 21, 2026
- Vendor
- GetSimple CMS
- Product
- Custom JS Plugin
- Classifications
- CWE-352, CAPEC-62, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 21, 2026CVE publishedPublication date reported by the CVE source.
- Jan 21, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Custom JS settings CSRF formproof of concept · unverified
- Custom JS CSRF-to-XSS-to-RCE chainfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo