{"id":"CVE-2021-25008","aliases":["EUVD-2021-11920","GHSA-vwwf-8mvf-74w3"],"status":"published","title":"Code Snippets \u003c 2.14.3 - Reflected Cross-Site Scripting","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02258,"percentile":0.83115,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-01-24T08:01:07Z","modified":"2026-10-24T10:31:00Z","exploits":[{"source":"nuclei","id":"CVE-2021-25008","title":"The Code Snippets WordPress Plugin \u003c 2.14.3 - Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25008.yaml"}],"products":[{"vendor":"codesnippets","product":"code_snippets"},{"vendor":"codesnippetspro","product":"code snippets"},{"vendor":"unknown","product":"code snippets"}],"references":[{"url":"https://wpscan.com/vulnerability/cb232354-f74d-48bb-b437-7bdddd1df42a","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-25008"},{"url":"https://github.com/advisories/GHSA-vwwf-8mvf-74w3"}],"sources":{"cve":[{"id":"CVE-2021-25008","title":"Code Snippets \u003c 2.14.3 - Reflected Cross-Site Scripting","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","status":"published","published":"2022-01-24T08:01:07Z","modified":"2024-08-03T19:49:14.599Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:59.430294Z"}],"euvd":[{"id":"EUVD-2021-11920","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","status":"published","published":"2022-01-24T08:01:07Z","modified":"2024-08-03T19:49:14Z","updated_at":"2026-11-03T03:24:54.862767Z"}],"ghsa":[{"id":"GHSA-vwwf-8mvf-74w3","title":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter...","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","status":"published","published":"2022-01-25T00:01:36Z","modified":"2023-02-03T05:05:08Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:53:41.500507Z"}],"nvd":[{"id":"CVE-2021-25008","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","status":"published","published":"2022-01-24T08:15:09.193Z","modified":"2026-06-17T03:41:18.24Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:03.821385Z"}],"osv":[{"id":"CVE-2021-25008","description":"The Code Snippets WordPress plugin before 2.14.3 does not escape the snippets-safe-mode parameter before outputting it back in attributes, leading to a Reflected Cross-Site Scripting issue","status":"published","published":"2022-01-24T08:15:09.193Z","modified":"2026-10-24T10:31:00.539965315Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.778776Z"}]}}
