http-cache-semantics < 4.1.1 - Regular Expression Denial of Service (ReDoS)
Strategic Overview
- Status
- Patched in 2.7.4
- Affected Plugin
- Simple Local Avatars
- Affected Version
<= 2.7.3- CVSS
- 5.3Medium
- Weakness type
- CWE-1333 · Inefficient Regular Expression Complexity
- CVE
CVE-2022-25881
At a glance
CVE-2022-25881 is a medium-severity Inefficient Regular Expression Complexity vulnerability in the Simple Local Avatars WordPress plugin, affecting versions <= 2.7.3. It carries a CVSS score of 5.3 (reachable over the network; low attack complexity). Exploitation requires no authentication. The issue is fixed in version 2.7.4; sites on affected versions should update now. Disclosed February 2023.
Vulnerability Overview
The package http-cache-semantics is vulnerable to Regular Expression Denial of Service (ReDoS) in versions before 4.1.1 via the cache-control HTTP header. WordPress plugins and themes may be using this package, however, they may not be vulnerable to exploitation.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site, and no interaction from a victim user.
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Remediation
Update to version 2.7.4, or a newer patched version
How does WordSec protect against this?
The fix is the thing that ends this: Simple Local Avatars 2.7.4 closes this, and updating the plugin is the step that ends it.
- Alerts
External References
Related records
Other vulnerabilities in Simple Local Avatars
- 8.1CVE-2022-25860: simple-git < 3.16.0 Remote Code Execution
CVE-2022-25860 - 4.3CVE-2025-8482: Simple Local Avatars Authenticated (Subscriber+)
CVE-2025-8482 - 4.3CVE-2024-10786: Simple Local Avatars Authenticated (Subscriber+) User
CVE-2024-10786 - 4.3CVE-2024-43116: Simple Local Avatars <= 2.7.10 CSRF
CVE-2024-43116 - 3.7CVE-2022-25858: terser (JS Package) < 5.14.2 Denial of Service
CVE-2022-25858
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C