Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
6.5

CVE-2025-48315: WordPress custom-html-bodyhead can store malicious scripts

CVE-2025-48315 · published 1 year ago
Summary

The custom-html-bodyhead feature in WordPress versions up to 0.51 does not properly clean user input, allowing attackers to embed harmful code that runs whenever a page is viewed. This could let a malicious party steal data or take control of visitors' browsers. Update WordPress to a version that includes the fix or disable the custom-html-bodyhead feature until you can apply a patch.

Original advisory text
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in stanton119 WordPress HTML custom-html-bodyhead allows Stored XSS.This issue affects WordPress H...
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in stanton119 WordPress HTML custom-html-bodyhead allows Stored XSS.This issue affects WordPress HTML: from n/a through <= 0.51.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
6.5 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published28 Aug 2025
Updated4 Nov 2026
First seen7 Mar 2026
Sources
Track software like this
Free during beta