CVE-2024-1985
What it is
The Simple Membership plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Display Name' parameter in all versions up to, and including, 4.4.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This vulnerability requires social engineering to successfully exploit, and the impact would be very limited due to the attacker requiring a user to login as the user with the injected payload for execution.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.9% in the next 30 days (EPSS).
- Severity: 4.7 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.9% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- simple-membership-plugin Simple Membership < 4.4.3
Attack profile CVSS 3.1 · 4.7
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-1985.md and follow it. Check whether this project is affected by CVE-2024-1985. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3045036%40simple-membership%2Ftrunk&old=3021218%40simple-membership%2Ftrunk&sfp_email=&sfph_mail=
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3045036%40simple-membership%2Ftrunk&old=3021218%40simple-membership%2Ftrunk&sfp_email=&sfph_mail=
References
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L103
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L112
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L121
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L130
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L139
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L157
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L85
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L95
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3045036%40simple-membership%2Ftrunk&old=3021218%40simple-membership%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8a6ca886-de4c-4d45-a934-3e90378e7eb3?source=cve
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L103
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L112
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L121
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L130
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L139
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L157
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L85
- https://plugins.trac.wordpress.org/browser/simple-membership/trunk/views/edit-v2.php#L95
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=3045036%40simple-membership%2Ftrunk&old=3021218%40simple-membership%2Ftrunk&sfp_email=&sfph_mail=
- https://www.wordfence.com/threat-intel/vulnerabilities/id/8a6ca886-de4c-4d45-a934-3e90378e7eb3?source=cve