CVE-2022-40699
WordPress vulnerability analysis and mitigation

Overview

A Cross-Site Scripting (XSS) vulnerability was discovered in the Dario Curvino Yasr – Yet Another Stars Rating WordPress plugin versions 3.1.2 and below. The vulnerability was reported on October 18, 2022, and publicly disclosed on March 3, 2023. This security issue affects the WordPress plugin, which is used for implementing rating functionality on WordPress websites (Patchstack).

Technical details

The vulnerability is classified as a Stored Cross-Site Scripting (XSS) issue, identified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The plugin failed to properly sanitize and escape certain parameters, leading to potential XSS attacks. The vulnerability has received varying CVSS scores: NIST assigned a CVSS v3.1 base score of 6.1 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, while Patchstack rated it at 5.4 (Medium) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (NVD, Patchstack).

Impact

The vulnerability could allow malicious actors to inject malicious scripts, including redirects, advertisements, and other HTML payloads into the website. These injected scripts would be executed when visitors access the affected site. Users with privileges as low as Subscriber could potentially perform Stored Cross-Site Scripting attacks (WPScan, Patchstack).

Exploitability

The vulnerability requires a user account with at least Subscriber privileges to exploit. Patchstack has classified this as a low-priority security issue that is unlikely to be exploited (Patchstack).

Mitigation and workarounds

The vulnerability has been fixed in version 3.1.3 of the Yet Another Stars Rating plugin. Website administrators are advised to update to version 3.1.3 or later to remove the vulnerability. Patchstack users have the option to enable auto-updates for vulnerable plugins (Patchstack).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management