Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-12460: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in laurencebahiirwa Years Since – Timeless Texts

0
Medium
VulnerabilityCVE-2024-12460cvecve-2024-12460cwe-79
Published: Sat Mar 08 2025 (03/08/2025, 02:24:02 UTC)
Source: CVE Database V5
Vendor/Project: laurencebahiirwa
Product: Years Since – Timeless Texts

Description

CVE-2024-12460 is a stored cross-site scripting (XSS) vulnerability in the WordPress plugin 'Years Since – Timeless Texts' up to version 1. 4. 1. It arises from improper input sanitization and output escaping of user-supplied attributes in the 'years-since' shortcode. Authenticated users with contributor-level access or higher can inject malicious scripts that execute when any user views the affected page. The vulnerability has a CVSS score of 6. 4 (medium severity) and does not require user interaction to exploit. While no known exploits are currently reported in the wild, the vulnerability poses risks to confidentiality and integrity of affected sites. Organizations using this plugin should prioritize patching or applying mitigations to prevent potential exploitation. Countries with significant WordPress usage and active contributor communities are most at risk.

AI-Powered Analysis

AILast updated: 02/26/2026, 04:29:39 UTC

Technical Analysis

CVE-2024-12460 is a stored cross-site scripting vulnerability classified under CWE-79, affecting the 'Years Since – Timeless Texts' WordPress plugin developed by laurencebahiirwa. The flaw exists in all versions up to and including 1.4.1 due to insufficient sanitization and escaping of user input in the 'years-since' shortcode attributes. This allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into pages. When other users access these pages, the malicious scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the WordPress environment. The vulnerability is remotely exploitable over the network without user interaction and requires only low privileges (contributor access). The CVSS v3.1 score is 6.4, reflecting medium severity with low attack complexity and no user interaction needed. The vulnerability affects the confidentiality and integrity of the affected websites but does not impact availability. No public exploit code or active exploitation has been reported yet. The lack of patches or official fixes at the time of publication increases the urgency for site administrators to implement mitigations or restrict contributor access until updates are available.

Potential Impact

This vulnerability can lead to unauthorized script execution within the context of affected WordPress sites, compromising user sessions and potentially allowing attackers to perform actions on behalf of other users, including administrators. This undermines the confidentiality and integrity of site data and user information. For organizations, exploitation could result in defacement, data theft, or further compromise of the WordPress environment. Since contributor-level access is required, the threat is primarily from insider threats or compromised contributor accounts. However, given WordPress's widespread use globally, especially in small to medium enterprises and content-driven websites, the impact can be significant if exploited at scale. The vulnerability does not affect availability directly but can lead to reputational damage and loss of user trust. The absence of known exploits reduces immediate risk but does not eliminate the potential for future attacks.

Mitigation Recommendations

Site administrators should immediately review and restrict contributor-level access to trusted users only, minimizing the risk of malicious input injection. Until an official patch is released, consider disabling or removing the 'Years Since – Timeless Texts' plugin if it is not essential. Implement Web Application Firewall (WAF) rules to detect and block suspicious shortcode attribute inputs that contain script tags or suspicious payloads. Regularly audit user-generated content for injected scripts and sanitize inputs manually if feasible. Monitor WordPress security advisories for updates or patches from the plugin developer and apply them promptly once available. Additionally, enforce the principle of least privilege for all WordPress roles and consider deploying Content Security Policy (CSP) headers to limit the impact of any injected scripts. Backup site data regularly to enable recovery in case of compromise.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2024-12-10T21:36:32.473Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6e3db7ef31ef0b59b772

Added to database: 2/25/2026, 9:48:45 PM

Last enriched: 2/26/2026, 4:29:39 AM

Last updated: 2/26/2026, 6:17:24 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats