{"id":"CVE-2025-5940","aliases":["CVE-2025-5940"],"related":[],"kind":"vulnerability","state":"published","title":"Osom Blocks <= 1.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via class_name Parameter","summary":"The Osom Blocks – Custom Post Type listing block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class_name’ parameter in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. 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 Osom Blocks – Custom Post Type listing block plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘class_name’ parameter in all versions up to, and including, 1.2.1 due to insufficient input sanitization and output escaping. 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 Osom Blocks – Custom Post Type listing block para WordPress es vulnerable a cross site scripting almacenado a través del parámetro 'class_name' en todas las versiones hasta la 1.2.1 incluida, debido a una depuración de entrada y un escape de salida insuficientes. Esto permite a atacantes autenticados, con acceso de colaborador o superior, inyectar scripts web arbitrarios en páginas que se ejecutarán al acceder un usuario a una página inyectada.","source":"nvd"}],"published":"2025-06-27T07:22:22.816Z","modified":"2026-06-17T09:49:04.397Z","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"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"1.2.1","status":"affected"}],"vendor":"osompress","product":"Osom Blocks","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.2.2"}],"vendor":"osompress","product":"osom_blocks","cpe":"cpe:2.3:a:osompress:osom_blocks:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/54e022df-0dc7-4f60-811d-48a92b723d55?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/osomblocks/trunk/blocks/cpt-list/index.php#L171","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://wordpress.org/plugins/osomblocks/#developers","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3320673%40osomblocks&new=3320673%40osomblocks&sfp_email=&sfph_mail=","tags":[],"sources":["cvelist","nvd"]}],"credits":["Peter Thaleikis"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-06-27T13:49:04.816Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5940","url":"https://www.cve.org/CVERecord?id=CVE-2025-5940","licence":"CVE Terms of Use","modified":"2026-04-08T16:53:24.707Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5940","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5940","licence":"Public domain","modified":"2026-06-17T09:49:04.397Z"}],"updatedAt":"2026-11-25T22:58:59.678Z","epss":{"score":0.00265,"percentile":0.19737,"date":"2026-12-01T12:00:22.000Z"}}