CVE-2022-4460
JSON

5.4medium

Sidebar Widgets by CodeLights <= 1.4 - Contributor+ Stored XSS

Severity
5.4medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.53% (higher than 38% of CVEs)
Published
Last changed
Assigned by
WPScan

Description

The Sidebar Widgets by CodeLights WordPress plugin through 1.4 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as a contributor to perform Stored Cross-Site Scripting attacks, which could be used against high-privilege users such as admins.

Affected

Product or packageVersionsReported by
Unknown Sidebar Widgets by CodeLightsup to 1.4CVE List
codelights-shortcodes-and-widgets_project codelights-shortcodes-and-widgetsup to 1.4NVD

All scores

CISA-ADP5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

The Sidebar Widgets by CodeLights WordPress plugin through 1.4 does not validate and escape some of its shortcode attributes before outputting them back in the page, which could allow users with a role as low as a contributor to perform Stored Cross-Site Scripting attacks, which could be used against high-privilege users such as admins.

NVD (es)

El complemento Sidebar Widgets by CodeLights de WordPress hasta la versión 1.4 no valida ni escapa algunos de sus atributos de código corto antes de devolverlos a la página, lo que podría permitir a los usuarios con un rol tan bajo como el de colaborador realizar ataques de cross site scripting almacenado, lo que podría utilizarse contra usuarios con privilegios elevados, como administradores.

References

https://wpscan.com/vulnerability/034c4c75-42a4-4884-b63f-f9d4d2d6aebcexploit, technical-description, third-party-advisory, vdb-entry

Sources

SourceRecordLicence
CVE ListCVE-2022-4460 changed 2025-04-04CVE Terms of Use
NVDCVE-2022-4460 changed 2026-06-17Public domain