CVE-2022-40699 MEDIUM

CVE-2022-40699: WordPress Yet Another Stars Rating Plugin <= 3.1.2 is vulnerable to Cross Site Scripting (XSS)

Vendor Dario Curvino
Product Yasr – Yet Another Stars Rating
Weakness CWE-79 · XSS
Published March 16, 2023
Last update April 28, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

Cross-Site Scripting (XSS) vulnerability in Dario Curvino Yasr – Yet Another Stars Rating plugin <= 3.1.2 versions.

Explanation of Vulnerability in Simple Terms

02Summary

Yasr – Yet Another Stars Rating versions up to 3.1.2 contain a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors. The vulnerability requires user interaction and affects the scope beyond the vulnerable component, potentially compromising site security and user data.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute in other users' browsers when they view affected pages.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other visitors; site admins should update immediately to prevent account compromise or data theft.

Conditions required to exploit

05Prerequisites

Attacker must be logged in with low-level user privileges and trick a site visitor into viewing a page containing the injected script.

Key dates

06Disclosure timeline

March 16, 2023 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE