CVE-2026-72574: picocms Pico - Host Header Injection Enables Script Source Hijacking

Published Aug 10, 2026
·
Updated

A host header injection vulnerability in picocms/Pico through 2.1.4 allows an unauthenticated remote attacker to control the origin of JavaScript and CSS assets loaded by the default theme. When baseurl is unset (the default), Pico::getBaseUrl in lib/Pico.php builds the base URL from unvalidated Host, X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Port request headers.

Other sources

A host header injection vulnerability in picocms/Pico through 2.1.4 allows an unauthenticated remote attacker to control the origin of JavaScript and CSS assets loaded by the default theme. When baseurl is unset (the default), Pico::getBaseUrl() in lib/Pico.php builds the base URL from unvalidated Host, X-Forwarded-Host, X-Forwarded-Proto, and X-Forwarded-Port request headers. The resulting URL propagates to themeurl, assetsurl, and pluginsurl, causing script and stylesheet tags to load resources from an attacker-controlled domain.

MITRE

Affected Software

1 affected component
picocms/Pico<=2.1.4

Event History

Aug 10, 2026
CVE Published
via MITRE·10:40 AM
Data Sourced
via MITRE·10:40 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-72574?

The severity of CVE-2026-72574 is rated as medium with a score of 6.1.

2

What does CVE-2026-72574 exploit in PicoCMS?

CVE-2026-72574 exploits a host header injection vulnerability that allows an attacker to control the origin of JavaScript and CSS assets.

3

How can I mitigate the risk of CVE-2026-72574?

To mitigate the risk of CVE-2026-72574, ensure that the base_url is properly configured and validate inputs to avoid host header injection.

4

Who is affected by CVE-2026-72574?

Any user of PicoCMS version 2.1.4 and earlier is affected by CVE-2026-72574 due to the default settings allowing host header injection.

5

Can CVE-2026-72574 lead to script source hijacking?

Yes, CVE-2026-72574 can lead to script source hijacking due to the allowance of controlled origins for loaded assets.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203