{"id":"CVE-2024-2948","aliases":["CVE-2024-2948"],"related":[],"kind":"vulnerability","state":"published","title":"Favorites <= 2.3.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode","summary":"The Favorites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'user_favorites' shortcode in all versions up to, and including, 2.3.3 due to insufficient input sanitization and output escaping on user supplied attributes such as 'no_favorites'. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Favorites plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'user_favorites' shortcode in all versions up to, and including, 2.3.3 due to insufficient input sanitization and output escaping on user supplied attributes such as 'no_favorites'. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.","source":"cvelist"},{"lang":"es","text":"El complemento Favoritos para WordPress es vulnerable a cross-site scripting almacenado a través del código corto 'user_favorites' del complemento en todas las versiones hasta la 2.3.3 incluida debido a una sanitización de entrada insuficiente y a un escape de salida en atributos proporcionados por el usuario como 'no_favorites'. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2024-03-30T07:36:30.300Z","modified":"2026-06-17T07:25:53.403Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"2.3.3","status":"affected"}],"vendor":"kylephillips","product":"Favorites","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/38a87046-9a46-40c2-b10d-d1a7d5ef8742?source=cve","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3061244%40favorites&new=3061244%40favorites&sfp_email=&sfph_mail=","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Krzysztof Zając"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-04-02T15:37:01.968Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2948","url":"https://www.cve.org/CVERecord?id=CVE-2024-2948","licence":"CVE Terms of Use","modified":"2026-04-08T16:46:34.148Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2948","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2948","licence":"Public domain","modified":"2026-06-17T07:25:53.403Z"}],"updatedAt":"2026-11-25T22:58:38.144Z","epss":{"score":0.00377,"percentile":0.33752,"date":"2026-12-02T12:00:21.000Z"}}