CNVD-2025-29293

Vulnerability from cnvd - Published: 2025-11-24
VLAI
Title
WordPress Code Snippets plugin代码注入漏洞
Description
WordPress Code Snippets plugin是一款专为WordPress设计的插件,用于便捷地添加和管理自定义代码片段,无需直接修改主题文件。 WordPress Code Snippets plugin存在代码注入漏洞,该漏洞源于evaluate_shortcode_from_flat_file方法对攻击者控制的短码属性使用extract函数,覆盖$filepath变量,随后传给require_once。攻击者可利用该漏洞导致PHP代码注入攻击。
Severity
高
Patch Name
WordPress Code Snippets plugin代码注入漏洞的补丁
Patch Description
WordPress Code Snippets plugin是一款专为WordPress设计的插件,用于便捷地添加和管理自定义代码片段,无需直接修改主题文件。 WordPress Code Snippets plugin存在代码注入漏洞,该漏洞源于evaluate_shortcode_from_flat_file方法对攻击者控制的短码属性使用extract函数,覆盖$filepath变量,随后传给require_once。攻击者可利用该漏洞导致PHP代码注入攻击。目前,供应商发布了安全公告及相关补丁信息,修复了此漏洞。
Formal description

目前厂商已发布升级程序修复该安全问题,详情见厂商官网: https://wordpress.org/plugins/code-snippets

Reference
https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.8.1/php/front-end/class-front-end.php#L295
Impacted products
Name
WordPress Code Snippets plugin <=3.9.1
Show details on source website

{
  "cves": {
    "cve": {
      "cveNumber": "CVE-2025-13035",
      "cveUrl": "https://nvd.nist.gov/vuln/detail/CVE-2025-13035"
    }
  },
  "description": "WordPress Code Snippets plugin\u662f\u4e00\u6b3e\u4e13\u4e3aWordPress\u8bbe\u8ba1\u7684\u63d2\u4ef6\uff0c\u7528\u4e8e\u4fbf\u6377\u5730\u6dfb\u52a0\u548c\u7ba1\u7406\u81ea\u5b9a\u4e49\u4ee3\u7801\u7247\u6bb5\uff0c\u65e0\u9700\u76f4\u63a5\u4fee\u6539\u4e3b\u9898\u6587\u4ef6\u3002\n\nWordPress Code Snippets plugin\u5b58\u5728\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eevaluate_shortcode_from_flat_file\u65b9\u6cd5\u5bf9\u653b\u51fb\u8005\u63a7\u5236\u7684\u77ed\u7801\u5c5e\u6027\u4f7f\u7528extract\u51fd\u6570\uff0c\u8986\u76d6$filepath\u53d8\u91cf\uff0c\u968f\u540e\u4f20\u7ed9require_once\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5bfc\u81f4PHP\u4ee3\u7801\u6ce8\u5165\u653b\u51fb\u3002",
  "formalWay": "\u76ee\u524d\u5382\u5546\u5df2\u53d1\u5e03\u5347\u7ea7\u7a0b\u5e8f\u4fee\u590d\u8be5\u5b89\u5168\u95ee\u9898\uff0c\u8be6\u60c5\u89c1\u5382\u5546\u5b98\u7f51:\r\nhttps://wordpress.org/plugins/code-snippets",
  "isEvent": "\u901a\u7528\u8f6f\u786c\u4ef6\u6f0f\u6d1e",
  "number": "CNVD-2025-29293",
  "openTime": "2025-11-24",
  "patchDescription": "WordPress Code Snippets plugin\u662f\u4e00\u6b3e\u4e13\u4e3aWordPress\u8bbe\u8ba1\u7684\u63d2\u4ef6\uff0c\u7528\u4e8e\u4fbf\u6377\u5730\u6dfb\u52a0\u548c\u7ba1\u7406\u81ea\u5b9a\u4e49\u4ee3\u7801\u7247\u6bb5\uff0c\u65e0\u9700\u76f4\u63a5\u4fee\u6539\u4e3b\u9898\u6587\u4ef6\u3002\r\n\r\nWordPress Code Snippets plugin\u5b58\u5728\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\uff0c\u8be5\u6f0f\u6d1e\u6e90\u4e8eevaluate_shortcode_from_flat_file\u65b9\u6cd5\u5bf9\u653b\u51fb\u8005\u63a7\u5236\u7684\u77ed\u7801\u5c5e\u6027\u4f7f\u7528extract\u51fd\u6570\uff0c\u8986\u76d6$filepath\u53d8\u91cf\uff0c\u968f\u540e\u4f20\u7ed9require_once\u3002\u653b\u51fb\u8005\u53ef\u5229\u7528\u8be5\u6f0f\u6d1e\u5bfc\u81f4PHP\u4ee3\u7801\u6ce8\u5165\u653b\u51fb\u3002\u76ee\u524d\uff0c\u4f9b\u5e94\u5546\u53d1\u5e03\u4e86\u5b89\u5168\u516c\u544a\u53ca\u76f8\u5173\u8865\u4e01\u4fe1\u606f\uff0c\u4fee\u590d\u4e86\u6b64\u6f0f\u6d1e\u3002",
  "patchName": "WordPress Code Snippets plugin\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e\u7684\u8865\u4e01",
  "products": {
    "product": "WordPress Code Snippets plugin \u003c=3.9.1"
  },
  "referenceLink": "https://plugins.trac.wordpress.org/browser/code-snippets/tags/3.8.1/php/front-end/class-front-end.php#L295",
  "serverity": "\u9ad8",
  "submitTime": "2025-11-21",
  "title": "WordPress Code Snippets plugin\u4ee3\u7801\u6ce8\u5165\u6f0f\u6d1e"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…