{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-5940","id":"CVE-2025-5940","title":"Osom Blocks <= 1.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via class_name Parameter","description":"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 execut","descriptionLong":"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.","published":"2025-06-27T07:22:22.816Z","updated":"2026-06-17T09:49:04.397Z","reserved":"2025-06-09T16:00:30.622Z","status":"Modified","rejected":false,"assigner":"Wordfence","metric":{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"Wordfence"},"metrics":[{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"Wordfence"},{"version":"3.1","score":6.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","rating":"medium","source":"wordfence.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["osompress Osom Blocks"],"affectedProducts":[{"vendor":"osompress","product":"Osom Blocks","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.2.1","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/54e022df-0dc7-4f60-811d-48a92b723d55?source=cve","tags":["Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/osomblocks/trunk/blocks/cpt-list/index.php#L171","tags":["Product"]},{"url":"https://wordpress.org/plugins/osomblocks/#developers","tags":["Product"]},{"url":"https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=3320673%40osomblocks&new=3320673%40osomblocks&sfp_email=&sfph_mail=","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00254,"epssPercentile":0.17243,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-5940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5940","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-5940","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-5940","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}