llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Packagist · getgrav/grav-plugin-star-ratings

GHSA-556J-6JH2-5RCV

Star Ratings does not enforce vote_access on the server

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión2.0.4
Exposición57 dDesde la divulgación, 23 sept 2026, 2:15 p. m.
Detección56 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
23 sept 26
18 nov 26
20 nov 26
23 sept 26
8 oct 26
22 oct 26
5 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-556J-6JH2-5RCV divulgada · CVSS 5.3 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

Summary

Star Ratings exposes a `vote_access` setting for restricting who may vote, and a `readonly` setting for disabling voting entirely. Both are enforced only by how the browser widget is rendered. The server-side vote handler checks neither.

Affected versions

Star Ratings 2.0.1 through 2.0.3 are affected when `vote_access` is configured or `readonly` is enabled. Both are off by default.

Details

`getData()` checks `vote_access` and sets client-side `readOnly` and `loginRequired` flags for an unauthorized viewer, and passes the configured `readonly` setting through as the same client-side flag. It still emits a valid anonymous vote nonce in the widget data. `addVote()` verifies that nonce and optional per-IP deduplication, but never authorizes the current user against `vote_access` and never consults `readonly`. A client can therefore ignore the read-only UI and submit the vote directly.

Impact

An unauthenticated visitor can add and influence ratings on a site whose operator explicitly restricted voting to logged-in or otherwise authorized users, or disabled voting altogether. This crosses the operator-configured authorization boundary and affects rating integrity, including aggregate rating output.

Patches

Upgrade to Star Ratings 2.0.4 when it is released. The fix enforces both `vote_access` and `readonly` in the server-side vote handler before changing stored ratings.

Note for that release: per-page `vote_access` and a per-widget `readOnly` passed to `stars()` are still not bound to the callback, so the fix covers the global configuration only.

Credits

Reported by @AlpetGexha.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
getgrav/grav-plugin-star-ratings≥ 2.0.1 < 2.0.4
2.0.1
2.0.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
Packagistgetgrav/grav-plugin-star-ratings
Corregida 2.0.4 — —
Versiones corregidas2.0.4
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/getgrav/grav/security/advisories/GHSA-556j-6jh2-5rcv

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.