{"id":"CVE-2024-4546","aliases":["CVE-2024-4546"],"related":[],"kind":"vulnerability","state":"published","title":"Custom Post Type Attachment <= 3.4.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via pdf_attachment Shortcode","summary":"The Custom Post Type Attachment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'pdf_attachment' shortcode in all versions up to, and including, 3.4.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Custom Post Type Attachment plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'pdf_attachment' shortcode in all versions up to, and including, 3.4.5 due to insufficient input sanitization and output escaping on user supplied attributes. 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 Custom Post Type Attachment para WordPress es vulnerable a la ejecución de Cross-Site Scripting Almacenado a través del código abreviado 'pdf_attachment' del complemento en todas las versiones hasta la 3.4.5 incluida, debido a una desinfección de entrada insuficiente y al escape de salida en los atributos proporcionados por el usuario. Esto permite que atacantes autenticados, con acceso de nivel de colaborador y superior, inyecten secuencias de comandos web arbitrarias en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada.","source":"nvd"}],"published":"2024-05-16T07:32:43.000Z","modified":"2026-06-17T08:02:06.763Z","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":"3.4.5","status":"affected"}],"vendor":"avimegladon","product":"Custom Post Type Attachment","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/f6ba2907-36f4-4c4d-9e25-d13d32e28690?source=cve","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3087121/","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Francesco Carlucci"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-24T18:37:52.325Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-4546","url":"https://www.cve.org/CVERecord?id=CVE-2024-4546","licence":"CVE Terms of Use","modified":"2026-04-08T17:33:37.751Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-4546","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-4546","licence":"Public domain","modified":"2026-06-17T08:02:06.763Z"}],"updatedAt":"2026-11-25T22:58:40.423Z","epss":{"score":0.00273,"percentile":0.21066,"date":"2026-12-02T12:00:21.000Z"}}