Eyewear prescription form <= 4.0.18 - Missing Authorization to Unauthenticated Arbitrary Options Update

Missing Authorization
CVE CVE-2024-54239
CVSS Critical (9.8)
Publicly Published December 6, 2024
Last Updated January 17, 2025
Researcher Kévin Mosbahi (Mika)
Description

The Eyewear prescription form plugin for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check on the adminSetting() function in all versions up to, and including, 4.0.18. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.

References

1 affected software package

Software Type Plugin
Software Slug eyewear-prescription-form (view on wordpress.org)
Patched? Yes
Affected Version
  • <= 4.0.18
Patched Version
  • 4.0.19
This record contains material that is subject to copyright

Copyright 2012-2026 Defiant Inc.
License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. License Detail.