CVE-2007-1894: Cross-site scripting (XSS) vulnerability in wp-includes/general-template.php in WordPress before 20070309 allows remote attackers to inject arbitrary web script or HTML via the year parameter in the w

medium Affects WordPress core. Feed 2026.10.29.4, updated 2026-10-29; published ; advisory modified .

Cross-site scripting (XSS) vulnerability in wp-includes/general-template.php in WordPress before 20070309 allows remote attackers to inject arbitrary web script or HTML via the year parameter in the w

Package
WordPress core WordPress
Affected versions
=2.0 or =2.0.1 or =2.0.2 or =2.0.3 or =2.0.4 or =2.0.5 or =2.0.6 or =2.0.7 or =2.1 or =2.1.1 or =2.1.2 or =2.2_revision5002
Fixed in
no fix recorded
Severity
medium  CVSS 4.3
Exploitation
not on CISA KEV · EPSS 3% (87.4th percentile)
Published
2007-04-09
Source
nvd

References

NVD recordWordPress core advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /var/www/html

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories