{"id":"CVE-2026-3129","state":"PUBLISHED","title":"LiteSpeed Cache <= 7.7 - Authenticated (Author+) Stored Cross-Site Scripting via img Tag Attributes","description":"The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted `<img>` tag attributes in all versions up to, and including, 7.7. This is due to a flawed regular expression that is used to strip `width` and `height` attributes from images when the \"Lazy Load Images\" and \"Add Missing Sizes\" features are enabled. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page.","publishedAt":"2026-08-28T03:39:35.416Z","updatedAt":"2026-08-28T23:18:59.081Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["litespeedtech LiteSpeed Cache"],"affected":[{"vendor":"litespeedtech","product":"LiteSpeed Cache","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.7","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/c107674d-173f-49cf-b329-e7bffaee841d?source=cve","https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L761","https://plugins.trac.wordpress.org/changeset/3473912/","https://blog.litespeedtech.com/2026/08/27/security-update-for-lscwp-cve-2026-3129/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:50.837Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/3xxx/CVE-2026-3129.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-3129","state":"PUBLISHED","datePublished":"2026-08-28T03:39:35.416Z","dateUpdated":"2026-08-28T23:18:59.081Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2026-02-24T16:38:54.193Z"},"containers":{"cna":{"title":"LiteSpeed Cache <= 7.7 - Authenticated (Author+) Stored Cross-Site Scripting via img Tag Attributes","descriptions":[{"lang":"en","value":"The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted `<img>` tag attributes in all versions up to, and including, 7.7. This is due to a flawed regular expression that is used to strip `width` and `height` attributes from images when the \"Lazy Load Images\" and \"Add Missing Sizes\" features are enabled. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page."}],"affected":[{"vendor":"litespeedtech","product":"LiteSpeed Cache","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.7","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/c107674d-173f-49cf-b329-e7bffaee841d?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/litespeed-cache/trunk/src/media.cls.php#L761"},{"url":"https://plugins.trac.wordpress.org/changeset/3473912/"},{"url":"https://blog.litespeedtech.com/2026/08/27/security-update-for-lscwp-cve-2026-3129/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","baseScore":6.4,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-08-28T23:18:59.081Z"},"credits":[{"lang":"en","type":"finder","value":"stealthcopter"}],"timeline":[{"time":"2026-08-27T00:00:00.000Z","lang":"en","value":"Discovered"},{"time":"2026-02-24T16:56:12.000Z","lang":"en","value":"Vendor Notified"},{"time":"2026-08-27T15:15:48.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-3129","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-08-28T18:18:16.570730Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-28T18:35:56.321Z"}}]}}}